aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorAndrey Eremeev <[email protected]>2021-12-15 20:30:32 +0300
committerDavid S. Miller <[email protected]>2021-12-16 10:57:21 +0000
commite08cdf63049b711099efff0811273449083bb958 (patch)
treef2d13e7940b154f5151eda4fd9230149cb868ecf /net/lapb/lapb_timer.c
parent407ecd1bd726f240123f704620d46e285ff30dd9 (diff)
dsa: mv88e6xxx: fix debug print for SPEED_UNFORCED
Debug print uses invalid check to detect if speed is unforced: (speed != SPEED_UNFORCED) should be used instead of (!speed). Found by Linux Verification Center (linuxtesting.org) with SVACE. Signed-off-by: Andrey Eremeev <[email protected]> Fixes: 96a2b40c7bd3 ("net: dsa: mv88e6xxx: add port's MAC speed setter") Reviewed-by: Andrew Lunn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions