diff options
author | Lad, Prabhakar <prabhakar.csengg@gmail.com> | 2015-02-05 08:56:09 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-02-05 19:07:06 -0500 |
commit | 2ca292d968ef20cb04f31192d1f626bd8d782960 (patch) | |
tree | 140e3248b4394ba894ad914e0c72aa425ad23456 | |
parent | 38741d50eb45554897e288f4b5ff2815e202c8aa (diff) |
vxge: fix sparse warning
this patch fixes following sparse warning:
vxge-config.c:4640:30: warning: Using plain integer as NULL pointer
Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/neterion/vxge/vxge-config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/neterion/vxge/vxge-config.c b/drivers/net/ethernet/neterion/vxge/vxge-config.c index 2bbd01fcb9b0..6223930a8155 100644 --- a/drivers/net/ethernet/neterion/vxge/vxge-config.c +++ b/drivers/net/ethernet/neterion/vxge/vxge-config.c | |||
@@ -4637,7 +4637,7 @@ static void __vxge_hw_vp_terminate(struct __vxge_hw_device *hldev, u32 vp_id) | |||
4637 | vpath->ringh = NULL; | 4637 | vpath->ringh = NULL; |
4638 | vpath->fifoh = NULL; | 4638 | vpath->fifoh = NULL; |
4639 | memset(&vpath->vpath_handles, 0, sizeof(struct list_head)); | 4639 | memset(&vpath->vpath_handles, 0, sizeof(struct list_head)); |
4640 | vpath->stats_block = 0; | 4640 | vpath->stats_block = NULL; |
4641 | vpath->hw_stats = NULL; | 4641 | vpath->hw_stats = NULL; |
4642 | vpath->hw_stats_sav = NULL; | 4642 | vpath->hw_stats_sav = NULL; |
4643 | vpath->sw_stats = NULL; | 4643 | vpath->sw_stats = NULL; |