lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAJZ5v0jsV1ZOdLa1=PTvrjzoJ9iVUE9fF6oWZbNcGwB+djNvQg@mail.gmail.com>
Date: Fri, 5 Sep 2025 20:59:28 +0200
From: "Rafael J. Wysocki" <rafael@...nel.org>
To: Viresh Kumar <viresh.kumar@...aro.org>
Cc: Qianfeng Rong <rongqianfeng@...o.com>, "Rafael J. Wysocki" <rafael@...nel.org>, 
	"open list:CPU FREQUENCY SCALING FRAMEWORK" <linux-pm@...r.kernel.org>, open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v3 3/3] cpufreq: speedstep-lib: Use int type to store
 negative error codes

On Wed, Sep 3, 2025 at 6:13 AM Viresh Kumar <viresh.kumar@...aro.org> wrote:
>
> On 02-09-25, 19:45, Qianfeng Rong wrote:
> > Change the return type of the speedstep_get_freqs() function from unsigned
> > int to int because it may return negative error codes.  For the same
> > reason, change the 'ret' variables to int type as well.
> >
> > No effect on runtime.
> >
> > Signed-off-by: Qianfeng Rong <rongqianfeng@...o.com>
> > ---
> >  drivers/cpufreq/speedstep-lib.c | 12 ++++++------
> >  drivers/cpufreq/speedstep-lib.h | 10 +++++-----
> >  2 files changed, 11 insertions(+), 11 deletions(-)
>
> Acked-by: Viresh Kumar <viresh.kumar@...aro.org>

Applied as 6.18 material, thanks!

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ