[PATCH 0/6] power: regulator: Fix some Smatch reported issues
Andrew Goodbody
andrew.goodbody at linaro.org
Thu Aug 7 18:35:17 CEST 2025
Smatch reported some issues in the regulator drivers, mostly repeated
instances of testing an unsigned variable for being negative but also an
expression needing parenthesis to be interpreted as expected.
Signed-off-by: Andrew Goodbody <andrew.goodbody at linaro.org>
---
Andrew Goodbody (6):
power: regulator: lp873x: Cannot test unsigned for being negative
power: regulator: lp87565: Cannot test unsigned for being negative
power: regulator: palmas: Cannot test unsigned for being negative
power: regulator: rzg2l-usbphy: Add parenthesis to return expression
power: regulator: tps65910: Cannot test unsigned for being negative
power: regulator: tps65941: Cannot test unsigned for being negative
drivers/power/regulator/lp873x_regulator.c | 8 ++++----
drivers/power/regulator/lp87565_regulator.c | 4 ++--
drivers/power/regulator/palmas_regulator.c | 8 ++++----
drivers/power/regulator/rzg2l-usbphy-regulator.c | 2 +-
drivers/power/regulator/tps65941_regulator.c | 8 ++++----
include/power/tps65910_pmic.h | 2 +-
6 files changed, 16 insertions(+), 16 deletions(-)
---
base-commit: 3526f990b77fca1c933f1d8b24eb9385010a05bf
change-id: 20250807-pwr_regulator-fa8bf0e4ac3d
Best regards,
--
Andrew Goodbody <andrew.goodbody at linaro.org>
More information about the U-Boot
mailing list