Thread (3 messages) 3 messages, 3 authors, 2021-12-16

Re: [PATCH] dsa: mv88e6xxx: fix debug print for SPEED_UNFORCED

flat view

From: Andrew Lunn <andrew@lunn.ch>
Date: 2021-12-15 17:47:03
Also in: lkml

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 <redacted>
Fixes: 96a2b40c7bd3 ("net: dsa: mv88e6xxx: add port's MAC speed setter")
Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help