Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3817811rwb; Tue, 8 Nov 2022 08:41:47 -0800 (PST) X-Google-Smtp-Source: AMsMyM5YCItOmA4OJ+uPmtvimXfufo0aIvua9ZsZQh/+76YK4hOXH0Toe5/zYt3UQ3CVVht/cspB X-Received: by 2002:a17:906:e83:b0:7ae:c0c:210b with SMTP id p3-20020a1709060e8300b007ae0c0c210bmr31060067ejf.523.1667925707754; Tue, 08 Nov 2022 08:41:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667925707; cv=none; d=google.com; s=arc-20160816; b=07rA176UJKUqeiRSGROECWKYIMwPvLdR/XWGBLJ2XvU4OTpl6807NQYyak6r6uvqJO yU1j7z3FhYepXzOuIUW2T4/SReyG2wlFB4eY92vUL02TvCxI8+venCHKK7KFD8Z6Wi2u kNW5g4RrlbeptnbVoVzVywRdImjhSmTdOg+2qEFjy5Obt8qNPAk1oc6UqJDLLodR/8rG m4SNCgaUEwNshnmOX9AFCYOZc5OlhUUQXKpicU8Oqo5fDgOfICfcADmtx+HrPhw/AkWw cEU2IFrz9smPktLv+AD20EZZy28D5Pbwwf8RlNOBrGvs2y/8IpaF3A7xutWP1CuM8QBB /3EQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=YTpFbHDDTfahk9u5PkF7Kgq8Wl4nybaJY9RslD5UkZ4=; b=LVYL3xeLyeIy2ilNgKglc/lUqFIi+oMLJL6nYgfyldBkxXa6HgpHIQUe8u/gnASIkS DLi7zkuKx7vS8HLtLmAgNH62nVNK79h4s691LF8021olnXP/syKywW7Bh9yH/HhQlWI0 UdK+2GJPm9J5a2miGt6VSMF/WIoi5d8jJNImWUzI9Rw5bvPOgTe0DGF2psZM8J8o1tpx q4EywTiksximsxs8I+UINqRJMzS9mCaRMDs9IoWZkWyVYl9sc35u/vHgyNwYJj3zv0to CqAnMr29/kIdIHJJjxPJhO9i8T7q1UIF4vQ9gTiACDFZwY6aUQGVN0polhQAQatB5G/c uySg== 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 e11-20020a17090658cb00b007ae6aa9e875si8001631ejs.370.2022.11.08.08.41.25; Tue, 08 Nov 2022 08:41:47 -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 S234471AbiKHQNW (ORCPT + 91 others); Tue, 8 Nov 2022 11:13:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233789AbiKHQNU (ORCPT ); Tue, 8 Nov 2022 11:13:20 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B1003BE35; Tue, 8 Nov 2022 08:13:19 -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 9C66B1FB; Tue, 8 Nov 2022 08:13:25 -0800 (PST) Received: from bogus (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 6D3373F73D; Tue, 8 Nov 2022 08:13:17 -0800 (PST) Date: Tue, 8 Nov 2022 16:13:15 +0000 From: Sudeep Holla To: Pierre Gondois 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 Subject: Re: [PATCH 3/5] ACPI: PPTT: Remove acpi_find_cache_levels() Message-ID: <20221108161315.lmm3sakza5quyzlv@bogus> References: <20221108110424.166896-1-pierre.gondois@arm.com> <20221108110424.166896-4-pierre.gondois@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221108110424.166896-4-pierre.gondois@arm.com> X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,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 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 ? Other than that, it looks good. Reviewed-by: Sudeep Holla -- Regards, Sudeep