mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 11:16:11 +00:00
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>
This commit is contained in:
parent
54037505a5
commit
66da8c529a
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ __xfrm6_sort(void **dst, void **src, int n, int (*cmp)(void *p), int maxclass)
|
|||
|
||||
for (i = 0; i < n; i++) {
|
||||
dst[count[class[i] - 1]++] = src[i];
|
||||
src[i] = 0;
|
||||
src[i] = NULL;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue