summaryrefslogtreecommitdiff
path: root/net/openvswitch/datapath.h
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2020-04-23 17:10:16 +0300
committerDavid S. Miller <davem@davemloft.net>2020-04-24 01:56:47 +0300
commitefcd549da9d7e8194b4d2d2f35eff8ce7b4da684 (patch)
tree1b3f110abe02e227842b7b2c1d2e486bb344e84e /net/openvswitch/datapath.h
parent8ffe2df6426f874659a3aa1654f45ba83fa91f87 (diff)
downloadlinux-efcd549da9d7e8194b4d2d2f35eff8ce7b4da684.tar.xz
net: phy: bcm54140: fix less than zero comparison on an unsigned
Currently the unsigned variable tmp is being checked for an negative error return from the call to bcm_phy_read_rdb and this can never be true since tmp is unsigned. Fix this by making tmp a plain int. Addresses-Coverity: ("Unsigned compared against 0") Fixes: 4406d36dfdf1 ("net: phy: bcm54140: add hwmon support") Signed-off-by: Colin Ian King <colin.king@canonical.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Michael Walle <michael@walle.cc> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/openvswitch/datapath.h')
0 files changed, 0 insertions, 0 deletions