summaryrefslogtreecommitdiff
path: root/block/Kconfig
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2021-06-09 18:17:48 +0100
committerDavid S. Miller <davem@davemloft.net>2021-06-09 15:32:08 -0700
commitf25247d88708ff0666573541923a7339845403de (patch)
tree63b57b71ca26fa1421f103862b2aa91f159f2363 /block/Kconfig
parent345502af4e42cef57782118520c3c326b55f1071 (diff)
net: phy: realtek: net: Fix less than zero comparison of a u16
The comparisons of the u16 values priv->phycr1 and priv->phycr2 to less than zero always false because they are unsigned. Fix this by using an int for the assignment and less than zero check. Addresses-Coverity: ("Unsigned compared against 0") Fixes: 0a4355c2b7f8 ("net: phy: realtek: add dt property to disable CLKOUT clock") Fixes: d90db36a9e74 ("net: phy: realtek: add dt property to enable ALDPS mode") Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block/Kconfig')
0 files changed, 0 insertions, 0 deletions