[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <63bef062-6a5a-c919-c805-798f19be5632@huawei.com>
Date: Tue, 21 Jan 2020 17:18:48 +0800
From: Chen Zhou <chenzhou10@...wei.com>
To: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>,
<davem@...emloft.net>, <mhabets@...arflare.com>, <kuba@...nel.org>
CC: <netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH -next] drivers: net: declance: fix comparing pointer to 0
On 2020/1/21 17:01, Sergei Shtylyov wrote:
> 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.
ok, i will fix this in next version.
Thanks,
Chen Zhou
>
>> Thanks,
>> Chen Zhou
>
> MBR, Sergei
>
>
Powered by blists - more mailing lists