[PATCH 0/2] clk: at91: Fix issues found by Smatch
Andrew Goodbody
andrew.goodbody at linaro.org
Wed Jul 23 16:13:47 CEST 2025
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,
--
Andrew Goodbody <andrew.goodbody at linaro.org>
More information about the U-Boot
mailing list