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

From
Sergei Shtylyov <hidden>
Date
2020-01-21 09:01:56
Also in
lkml
Reply to
Chen Zhou, 2020-01-21
On 21.01.2020 11:54, Chen Zhou wrote:
quoted
quoted
Fixes coccicheck warning:

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

Compare pointer-typed values to NULL rather than 0.
    I don't see NULL in the patch -- you used ! instead.
Yeah, i used ! here.
   Make the patch description match the diff, please.
Thanks,
Chen Zhou
MBR, Sergei
Thread (5 messages) 5 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