Re: [PATCH -next v2] drivers: net: declance: fix comparing pointer to 0

From
David Miller <davem@davemloft.net>
Date
2020-01-21 11:10:22
Also in
lkml
Reply to
Chen Zhou, 2020-01-21
From: Chen Zhou <redacted>
Date: Tue, 21 Jan 2020 17:24:55 +0800
Fixes coccicheck warning:

./drivers/net/ethernet/amd/declance.c:611:14-15:
	WARNING comparing pointer to 0

Replace "skb == 0" with "!skb".

Signed-off-by: Chen Zhou <redacted>
Applied, thanks.
Thread (2 messages) 2 messages, 2 authors, last reply 2020-01-21
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help