summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAndrew Goodbody <[email protected]>2025-08-07 10:16:55 +0100
committerTom Rini <[email protected]>2025-08-19 11:25:10 -0600
commite416d165723c56658b4a688e790cdcd968c6cfc9 (patch)
tree578dc91058c342b578726ee36757ac39f1970ba7 /include/linux
parentfedbb7a338286faf2fc897e136b0b9c6506fcfc4 (diff)
pinctrl: nexell: Cannot test unsigned to be negative
In s5pxx18_pinctrl_set_state testing count to be negative will always fail as count is unsigned despite receiving the return value of a function that returns an int. Change count and idx to be of type int to allow the test to work as expected and remove the need for any implicit casts. Also change pin to be u32 which is what all called functions expect. This issue was found by Smatch. Signed-off-by: Andrew Goodbody <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions