summaryrefslogtreecommitdiff
path: root/scripts/checkstack.pl
diff options
context:
space:
mode:
authorAndrew Goodbody <[email protected]>2025-08-07 17:35:18 +0100
committerTom Rini <[email protected]>2025-08-29 16:45:19 -0600
commit42f959d0b091b779f235d7d0e54a794d4d857917 (patch)
tree1c77f60e1f1233e0ea5c7194efa7bb48a16c7309 /scripts/checkstack.pl
parent3526f990b77fca1c933f1d8b24eb9385010a05bf (diff)
power: regulator: lp873x: Cannot test unsigned for being negative
In lp873x_buck_val and lp873x_ldo_val hex is an unsigned variable being assigned the return value from a function that returns int. Change hex to be an int so that the following test for an error as a negative value will work as expected. This issue was found by Smatch. Signed-off-by: Andrew Goodbody <[email protected]> Reviewed-by: Frieder Schrempf <[email protected]>
Diffstat (limited to 'scripts/checkstack.pl')
0 files changed, 0 insertions, 0 deletions