]> 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)
committerStefan Roese <sr@denx.de>
Wed, 28 Apr 2021 08:05:13 +0000 (10:05 +0200)
commit48594c38edb235d671c544faf922b29a1c1a5d23
treeac81452e242d3ebc94896952b7a858ba0e4f71d9
parent10221d2847ef78cb0e4cbdcce9d7ab1b2df11d2a
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