]> git.dujemihanovic.xyz Git - u-boot.git/commit
pinctrl: single: fix a never true comparison
authorDario Binacchi <dariobin@libero.it>
Thu, 22 Apr 2021 20:28:56 +0000 (22:28 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 27 Apr 2021 12:05:30 +0000 (08:05 -0400)
commit230bc623a49a214bdf1a53971404ab762414ec71
tree2e8e1dc2eeeab70a92c9f36bd84e2fc534e7fcc3
parent69414d86ed57bf7b55ccd79d3d5ca5a01987a5b7
pinctrl: single: fix a never true comparison

As reported by Coverity Scan for Das U-Boot, the 'less-than-zero'
comparison of an unsigned value is never true.

Signed-off-by: Dario Binacchi <dariobin@libero.it>
Reviewed-by: Pratyush Yadav <p.yadav@ti.com>
drivers/pinctrl/pinctrl-single.c