Messages in this thread | | | Date | Wed, 15 Dec 2021 18:46:53 +0100 | From | Andrew Lunn <> | Subject | Re: [PATCH] dsa: mv88e6xxx: fix debug print for SPEED_UNFORCED |
| |
On Wed, Dec 15, 2021 at 08:30:32PM +0300, Andrey Eremeev wrote: > 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>
Andrew
| |