Re: [PATCH -next] net: ena: use NULL instead of zero

From: wanghai (M)
Date: Sun Jul 19 2020 - 21:48:26 EST



在 2020/7/18 23:06, Joe Perches 写道:
On Sat, 2020-07-18 at 19:56 +0800, Wang Hai wrote:
Fix sparse build warning:

drivers/net/ethernet/amazon/ena/ena_netdev.c:2193:34: warning:
Using plain integer as NULL pointer
Better to remove the initialization altogether and
move the declaration into the loop.
Thanks for your advice. I'll send a v2 patch.