summaryrefslogtreecommitdiff
path: root/include/linux/netpoll.h
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2020-05-07 17:34:30 +0300
committerDavid S. Miller <davem@davemloft.net>2020-05-08 04:07:40 +0300
commit3a13f98b4c16fb3489bdfd7550fcaa333ee69850 (patch)
tree28d5793e21767a2833da06910ec00d252d591b14 /include/linux/netpoll.h
parentca7e3edc221d5cf750ae04cac29cf9fe9db38e84 (diff)
downloadlinux-3a13f98b4c16fb3489bdfd7550fcaa333ee69850.tar.xz
net: phy: fix less than zero comparison with unsigned variable val
The unsigned variable val is being checked for an error by checking if it is less than zero. This can never occur because val is unsigned. Fix this by making val a plain int. Addresses-Coverity: ("Unsigned compared against zero") Fixes: bdbdac7649fa ("ethtool: provide UAPI for PHY master/slave configuration.") Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netpoll.h')
0 files changed, 0 insertions, 0 deletions