(subset) [PATCH 0/6] power: regulator: Fix some Smatch reported issues
Tom Rini
trini at konsulko.com
Mon Sep 1 00:38:20 CEST 2025
On Thu, 07 Aug 2025 17:35:17 +0100, Andrew Goodbody wrote:
> 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.
>
>
Applied to u-boot/next, thanks!
[1/6] power: regulator: lp873x: Cannot test unsigned for being negative
commit: 42f959d0b091b779f235d7d0e54a794d4d857917
[2/6] power: regulator: lp87565: Cannot test unsigned for being negative
commit: 8f90028ccdbfc74487c4b40bd6fe5d34c3309b7a
[3/6] power: regulator: palmas: Cannot test unsigned for being negative
commit: 96312ed79630838b09368c8c07ec164fd40a025c
[4/6] power: regulator: rzg2l-usbphy: Add parenthesis to return expression
commit: cdc0e32e9c56fc3d14007d4c93394e8bcc8daa08
[6/6] power: regulator: tps65941: Cannot test unsigned for being negative
commit: c18435e648f7004dee1a80d06dbc06223d3b76b3
--
Tom
More information about the U-Boot
mailing list