[PATCH 0/2] clk: at91: Fix issues found by Smatch

Andrew Goodbody andrew.goodbody at linaro.org
Thu Aug 7 17:16:21 CEST 2025


On 23/07/2025 15: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,

Are there any comments on this series please?

Thanks,
Andrew


More information about the U-Boot mailing list