diff options
author | Andrey Eremeev <Axtone4all@yandex.ru> | 2021-12-15 20:30:32 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-12-16 10:57:21 +0000 |
commit | e08cdf63049b711099efff0811273449083bb958 (patch) | |
tree | f2d13e7940b154f5151eda4fd9230149cb868ecf /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 407ecd1bd726f240123f704620d46e285ff30dd9 (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 <Axtone4all@yandex.ru>
Fixes: 96a2b40c7bd3 ("net: dsa: mv88e6xxx: add port's MAC speed setter")
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions