Skip to content

clk: at91: Fix issues found by Smatch

Andrew Goodbody u-boot 1 version In review

Get series with b4
b4 am [email protected] change-id 20250723-at91_clk-e71864ac6e7e

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2clk: at91: Fix testing of unsigned variable to be negativedrivers/clk/at91/clk-main.c drivers/clk/at91/clk-master.c+4 -30 replies
2/2clk: at91: Fix use of unsigned loop indexdrivers/clk/at91/sckc.c+5 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

Unsigned variables will always fail tests that check for being negative. Use signed variables instead.

---
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,

Signature · 1 line
Andrew Goodbody <[email protected]>