lkml.org 
[lkml]   [2020]   [Jan]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH -next] drivers: net: declance: fix comparing pointer to 0
From
Date
On 21.01.2020 11:54, Chen Zhou wrote:

>>> 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

\
 
 \ /
  Last update: 2020-01-21 10:02    [W:2.114 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site