Messages in this thread | | | Subject | Re: [PATCH -next] net: ena: use NULL instead of zero | From | "wanghai (M)" <> | Date | Mon, 20 Jul 2020 09:48:17 +0800 |
| |
在 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.
| |