Commit 66da8c529ad4d330a268ac08aa101b87c5c911ff

Authored by Hannes Eder
Committed by David S. Miller
1 parent 54037505a5

ipv6: fix sparse warning: Using plain integer as NULL pointer

Fix this sparse warning:
  net/ipv6/xfrm6_state.c:72:26: warning: Using plain integer as NULL pointer

Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Signed-off-by: David S. Miller <davem@davemloft.net>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

net/ipv6/xfrm6_state.c
... ... @@ -69,7 +69,7 @@
69 69  
70 70 for (i = 0; i < n; i++) {
71 71 dst[count[class[i] - 1]++] = src[i];
72   - src[i] = 0;
  72 + src[i] = NULL;
73 73 }
74 74  
75 75 return 0;