[PATCH 0/2] clk: at91: Fix issues found by Smatch
Eugen Hristev
eugen.hristev at linaro.org
Wed Aug 13 10:02:09 CEST 2025
On 7/23/25 17:13, Andrew Goodbody wrote:
> Unsigned variables will always fail tests that check for being negative.
> Use signed variables instead.
>
> Signed-off-by: Andrew Goodbody <andrew.goodbody at linaro.org>
> ---
> Andrew Goodbody (2):
> clk: at91: Fix testing of unsigned variable to be negative
> clk: at91: Fix use of unsigned loop index
>
> drivers/clk/at91/clk-main.c | 3 ++-
> drivers/clk/at91/clk-master.c | 4 ++--
> drivers/clk/at91/sckc.c | 8 +++++---
> 3 files changed, 9 insertions(+), 6 deletions(-)
> ---
> base-commit: bd0ade7d090a334b3986936d63a34001d99722ad
> change-id: 20250723-at91_clk-e71864ac6e7e
>
> Best regards,
Applied to u-boot-at91/master, thanks !
More information about the U-Boot
mailing list