From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756680AbbJUXQI (ORCPT ); Wed, 21 Oct 2015 19:16:08 -0400 Received: from v094114.home.net.pl ([79.96.170.134]:55205 "HELO v094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1755170AbbJUXQG (ORCPT ); Wed, 21 Oct 2015 19:16:06 -0400 From: "Rafael J. Wysocki" To: Mika Westerberg Cc: ACPI Devel Maling List , Linux Kernel Mailing List , Darren Hart Subject: Re: [PATCH] ACPI / property: Fix subnode lookup scope for data-only subnodes Date: Thu, 22 Oct 2015 01:44:58 +0200 Message-ID: <3357380.Nnsq3b9RG3@vostro.rjw.lan> User-Agent: KMail/4.11.5 (Linux/4.1.0-rc5+; KDE/4.11.5; x86_64; ; ) In-Reply-To: <20151021132036.GC1526@lahna.fi.intel.com> References: <3607867.RKSpENdj9h@vostro.rjw.lan> <20151021132036.GC1526@lahna.fi.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wednesday, October 21, 2015 04:20:36 PM Mika Westerberg wrote: > On Wed, Oct 21, 2015 at 01:51:24AM +0200, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > The correct scope for looking up the objects to generate data packages for > > data-only subnodes pointed to by another data-only subnode is the scope > > of the parent of that subnode and not the scope containing the _DSD object > > at the top of the hierarchy (the latter works only if all of the objects > > returning data-only subnode packages in a given hierarchy are in the same > > scope). > > > > Fix the code to work as expected. > > > > Fixes: 445b0eb058f5 (ACPI / property: Add support for data-only subnodes) > > Signed-off-by: Rafael J. Wysocki > > Reviewed-by: Mika Westerberg > > All my tests still pass so you can also add > > Tested-by: Mika Westerberg Thanks!