diff options
author | Wang Hai <wanghai38@huawei.com> | 2020-07-20 15:56:14 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-20 16:59:22 -0700 |
commit | d89d8d4db48b42d22c5b0e0e8a3f82dd00262c44 (patch) | |
tree | 9846ddab611243e0d8c9ac065f8c8e2f6fc6b8f4 /drivers/net/arcnet/rfc1201.c | |
parent | 74b5afea3b5e141e9a0b76863858c072e28713f1 (diff) |
net: ena: Fix using plain integer as NULL pointer in ena_init_napi_in_range
Fix sparse build warning:
drivers/net/ethernet/amazon/ena/ena_netdev.c:2193:34: warning:
Using plain integer as NULL pointer
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wang Hai <wanghai38@huawei.com>
Suggested-by: Joe Perches <joe@perches.com>
Acked-by: Shay Agroskin <shayagr@amazon.com>
Acked-by: Shay Agroskin <shayagr@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/arcnet/rfc1201.c')
0 files changed, 0 insertions, 0 deletions