summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorAndrew Goodbody <[email protected]>2025-09-01 16:00:46 +0100
committerPeng Fan <[email protected]>2025-09-25 00:04:02 +0800
commit6c98e6014b3a36933860d02cb757565ec2fc80a4 (patch)
treebc87b47d5b3dee9f0b6bb93ba8d6cca70dcc32e6 /scripts/objdiff
parente482fdbbca935de32400054eb532de45b1cc01cb (diff)
power: regulator: Fix incorrect use of binary and
In regulator_list_autoset there is a test for ret being non-zero and error being zero but it uses the binary '&' instead of the logical '&&' which could well lead to unexpected results. Correct this to use the logical '&&' instead. This issue found by Smatch. Signed-off-by: Andrew Goodbody <[email protected]> Reviewed-by: Peng Fan <[email protected]> Signed-off-by: Peng Fan <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions