From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Rafael J. Wysocki" Subject: Re: [PATCH v5 03/18] ACPI / table: Count matched and successfully parsed entries without specifying max entries Date: Tue, 18 Nov 2014 21:15:43 +0100 Message-ID: <7743567.TJcygJtKD3@vostro.rjw.lan> References: <1413553034-20956-1-git-send-email-hanjun.guo@linaro.org> <1413553034-20956-4-git-send-email-hanjun.guo@linaro.org> <546B4EDD.9050804@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from v094114.home.net.pl ([79.96.170.134]:59669 "HELO v094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1753829AbaKRTyi convert rfc822-to-8bit (ORCPT ); Tue, 18 Nov 2014 14:54:38 -0500 In-Reply-To: <546B4EDD.9050804@linaro.org> Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Hanjun Guo Cc: Catalin Marinas , Mark Rutland , Olof Johansson , Grant Likely , Will Deacon , Graeme Gregory , Arnd Bergmann , Sudeep Holla , Jon Masters , Jason Cooper , Marc Zyngier , Bjorn Helgaas , Daniel Lezcano , Mark Brown , Rob Herring , Robert Richter , Lv Zheng , Robert Moore , Lorenzo Pieralisi , Liviu Dudau , Randy Dunlap , Charles.Garcia-Tobin@arm.com, Kangkang.Shen@huawei.com, linux-acpi@vger.kernel.org, linux-arm-kernel@l On Tuesday, November 18, 2014 09:51:25 PM Hanjun Guo wrote: > Hi Rafael, >=20 > On 2014=E5=B9=B410=E6=9C=8817=E6=97=A5 21:36, Hanjun Guo wrote: > > From: Tomasz Nowicki > > > > It is very useful to traverse all available table entries without m= ax > > number of expected entries type. Current acpi_parse_entries() > > implementation gives that feature but it does not count those entri= es, > > it returns 0 instead, so fix it to count matched and successfully > > entries and return it. > > > > NOTE: This change has no impact to x86 and ia64 archs since existin= g code > > checks for error occurrence only (acpi_parse_entries(...,0) < 0). > > > > Acked-by: Grant Likely > > Signed-off-by: Tomasz Nowicki > > Signed-off-by: Hanjun Guo >=20 > Patch 2 and patch 3 are only for ACPI cores, and have no harm to x86 > and IA64, could you merge first in 3.19? I can do that if that helps. --=20 I speak only for myself. Rafael J. Wysocki, Intel Open Source Technology Center. -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html