[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20240425050828.iqs7cjslxvb2fzn5@vireshk-i7>
Date: Thu, 25 Apr 2024 10:38:28 +0530
From: Viresh Kumar <viresh.kumar@...aro.org>
To: Dan Carpenter <dan.carpenter@...aro.org>
Cc: Andre Przywara <andre.przywara@....com>,
Yangtao Li <tiny.windzz@...il.com>,
"Rafael J. Wysocki" <rafael@...nel.org>,
Chen-Yu Tsai <wens@...e.org>,
Jernej Skrabec <jernej.skrabec@...il.com>,
Samuel Holland <samuel@...lland.org>, linux-pm@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-sunxi@...ts.linux.dev,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] cpufreq: sun50i: fix error returns in
dt_has_supported_hw()
On 24-04-24, 14:40, Dan Carpenter wrote:
> The dt_has_supported_hw() function returns type bool. That means these
> negative error codes are cast to true but the function should return
> false instead.
>
> Fixes: fa5aec9561cf ("cpufreq: sun50i: Add support for opp_supported_hw")
> Signed-off-by: Dan Carpenter <dan.carpenter@...aro.org>
> ---
> drivers/cpufreq/sun50i-cpufreq-nvmem.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Applied. Thanks.
--
viresh
Powered by blists - more mailing lists