[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200121.121017.935276956491301331.davem@davemloft.net>
Date: Tue, 21 Jan 2020 12:10:17 +0100 (CET)
From: David Miller <davem@...emloft.net>
To: chenzhou10@...wei.com
Cc: mhabets@...arflare.com, kuba@...nel.org,
sergei.shtylyov@...entembedded.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next v2] drivers: net: declance: fix comparing pointer
to 0
From: Chen Zhou <chenzhou10@...wei.com>
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 <chenzhou10@...wei.com>
Applied, thanks.
Powered by blists - more mailing lists