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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <175339628791.3513.14767621631435473302@lazor>
Date: Thu, 24 Jul 2025 15:31:27 -0700
From: Stephen Boyd <sboyd@...nel.org>
To: Pei Xiao <xiaopei01@...inos.cn>, linux-clk@...r.kernel.org, linux-kernel@...r.kernel.org, linux-tegra@...r.kernel.org, mturquette@...libre.com, pdeschrijver@...dia.com, pgaikwad@...dia.com
Cc: Pei Xiao <xiaopei01@...inos.cn>
Subject: Re: [PATCH 1/2] clk: tegra: periph: Fix error handling and resolve unsigned compare warning

Quoting Pei Xiao (2025-07-09 00:37:13)
> ./drivers/clk/tegra/clk-periph.c:59:5-9: WARNING:
>         Unsigned expression compared with zero: rate < 0
> 
> The unsigned long 'rate' variable caused:
> - Incorrect handling of negative errors
> - Compile warning: "Unsigned expression compared with zero"
> 
> Fix by changing to long type and adding req->rate cast.
> 
> Signed-off-by: Pei Xiao <xiaopei01@...inos.cn>
> ---

Applied to clk-next

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ