Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3877956rwb; Tue, 8 Nov 2022 09:19:51 -0800 (PST) X-Google-Smtp-Source: AMsMyM7P8rXnNXpQ1Xm7o4Vx+UYchTaTzDKCLFP0OxGU7Vk8ZwVmTPHbBlIKbQ0PQRsk4p+2EuRD X-Received: by 2002:a05:6a00:24cb:b0:56c:7815:bc7d with SMTP id d11-20020a056a0024cb00b0056c7815bc7dmr57613432pfv.44.1667927991378; Tue, 08 Nov 2022 09:19:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667927991; cv=none; d=google.com; s=arc-20160816; b=tIsVqH33eoQVdgKCkgfx3JK/61e/Cas3vCg0sF0WFqjpS+gqg9ZHffRNKJCUqxOx5Z MKm1QgsztdkFikifUUiCFafc3ZEroT0RlyWBT8ePNbJiv3usfFzrlbFqH5duA6gYhvI4 jZvLILGqkekah0/vAyh44jte+gk5KWW3ehxaUOACGKIa+vxk3mQ+SO87KXhDrshAIOmf dcRK0pJ7MAgz7nMyGBjQttLzGCb1DtDg65xo7iptk+b5C7an39cRkHpN0KpRaWlOhPvJ r43kEdtSIpk7WZhOJj0rZVLDnLyIxE/2pEc5sZuMHXqWAYGRFkKqp59+Z1yPWP7T8bNl YXew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id; bh=Wx6xoz82ukceZ9FCa8ls6jvvJU2nwPVAkaNA+2fnIPU=; b=Aa8/kUeSeA4dGAt/chz+fu1H+mSUSrfslXa8c1Kcx5PsJPQkbiWVXPfKEwxSmWPLTR 8oFeh3WcFEKO1Snb3a3yEVFq40ZCsSYgiU4yfi6JEHHKRDKKx8IuzJGkNSEYGqZXp3Jw UFRJqxRZLArF9jc1DUtBF6dRgQl901sTNecB9FLIENpFWLqljfwyMeQ5hjkTGVHhb8mF xbAXteHWdO+nUJr58ljQs2ZdvUh1jNUv3od49TGXaj55CaSuIms5VSTOuUJotYL/EpV+ OJFAWNHFIPVdrQMgZkB2wB+C/nth1a66ujPXjWJKyLxF9w/gnFu/qhw9QWGBamWTdVGu SmJQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h4-20020a170902b94400b0016cca53817dsi13701995pls.341.2022.11.08.09.19.38; Tue, 08 Nov 2022 09:19:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234281AbiKHQ5N (ORCPT + 91 others); Tue, 8 Nov 2022 11:57:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234476AbiKHQ4z (ORCPT ); Tue, 8 Nov 2022 11:56:55 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id AF55D59856; Tue, 8 Nov 2022 08:56:54 -0800 (PST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 9D30E1FB; Tue, 8 Nov 2022 08:57:00 -0800 (PST) Received: from [10.57.5.11] (unknown [10.57.5.11]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id F1FCB3F703; Tue, 8 Nov 2022 08:56:50 -0800 (PST) Message-ID: <1b2f25e5-cd60-a533-14be-a608f4c801bd@arm.com> Date: Tue, 8 Nov 2022 17:56:45 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Subject: Re: [PATCH 3/5] ACPI: PPTT: Remove acpi_find_cache_levels() To: Sudeep Holla Cc: linux-kernel@vger.kernel.org, Catalin Marinas , Will Deacon , Paul Walmsley , Palmer Dabbelt , Albert Ou , "Rafael J. Wysocki" , Len Brown , Greg Kroah-Hartman , Gavin Shan , Peter Chen , Jakub Kicinski , linux-arm-kernel@lists.infradead.org, linux-riscv@lists.infradead.org, linux-acpi@vger.kernel.org References: <20221108110424.166896-1-pierre.gondois@arm.com> <20221108110424.166896-4-pierre.gondois@arm.com> <20221108161315.lmm3sakza5quyzlv@bogus> Content-Language: en-US From: Pierre Gondois In-Reply-To: <20221108161315.lmm3sakza5quyzlv@bogus> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/8/22 17:13, Sudeep Holla wrote: > On Tue, Nov 08, 2022 at 12:04:19PM +0100, Pierre Gondois wrote: >> acpi_find_cache_levels() is used at a single place and is short >> enough to be merged into the calling function. The removal allows >> an easier renaming of the calling function in the next patch. >> >> Also reorder the parameters in the 'reversed Christmas tree' order. > > Not sure if the above is worth mentioning explicitly. Even if you do, > 'parameters' sounds very confusing to at-least me. I was searching for > the changes is some function parameters to understand what it was and > finally realised you meant the stack variable declaration order here. > Right ? Yes right, I will use another word. > > > Other than that, it looks good. > > Reviewed-by: Sudeep Holla > Regards, Pierre