liquidio: Using NULL instead of plain integer
commitbf20a5c1d56043a0ee4263fbd22ca0f70ba4d09a
authorYueHaibing <yuehaibing@huawei.com>
Tue, 17 Jul 2018 09:27:13 +0000 (17 17:27 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Jul 2018 20:40:58 +0000 (18 13:40 -0700)
treed8450f68e29f768082ee65284ad4ad06ab476814
parent6060d9d24e6d7c7959d0db8cd9f511cf43c409d9
liquidio: Using NULL instead of plain integer

Fixes the following sparse warnings:

drivers/net/ethernet/cavium/liquidio/lio_main.c:3068:23: warning:
 Using plain integer as NULL pointer
drivers/net/ethernet/cavium/liquidio/lio_main.c:2909:23: warning:
 Using plain integer as NULL pointer
drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:385:27: warning:
 Using plain integer as NULL pointer

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c
drivers/net/ethernet/cavium/liquidio/lio_main.c