clk: at91: Fix issues found by Smatch
Get series with b4
b4 am [email protected] change-id 20250723-at91_clk-e71864ac6e7eVersions newest first
- v1 Latest2 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | clk: at91: Fix testing of unsigned variable to be negativedrivers/ drivers/ | +4 | 0 replies | |
| 2/2 | clk: at91: Fix use of unsigned loop indexdrivers/ | +5 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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.
Signed-off-by Andrew Goodbody <[email protected]>
---
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]>