From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B1558C433ED for ; Fri, 7 May 2021 08:59:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 775E1613C5 for ; Fri, 7 May 2021 08:59:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235793AbhEGJAP (ORCPT ); Fri, 7 May 2021 05:00:15 -0400 Received: from foss.arm.com ([217.140.110.172]:50330 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235546AbhEGJAP (ORCPT ); Fri, 7 May 2021 05:00:15 -0400 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 B198D106F; Fri, 7 May 2021 01:59:15 -0700 (PDT) Received: from bogus (unknown [10.57.33.10]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 359DD3F718; Fri, 7 May 2021 01:59:14 -0700 (PDT) Date: Fri, 7 May 2021 09:59:11 +0100 From: Sudeep Holla To: Christophe JAILLET Cc: cristian.marussi@arm.com, rjw@rjwysocki.net, viresh.kumar@linaro.org, nicola.mazzucato@arm.com, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH] cpufreq: scmi: Fix an error message Message-ID: <20210507085911.yqdwutmn5rev7xdv@bogus> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20171215 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org On Thu, May 06, 2021 at 09:09:48PM +0200, Christophe JAILLET wrote: > 'ret' is known to be 0 here. > The last error code is stored in 'nr_opp', so use it in the error message. > Reviewed-by: Sudeep Holla -- Regards, Sudeep