Use of 0 as NULL causes sparse complaint. Signed-off-by: Stephen Hemminger --- a/net/ipv4/netfilter/nf_nat_snmp_basic.c 2008-01-23 10:07:23.000000000 -0800 +++ b/net/ipv4/netfilter/nf_nat_snmp_basic.c 2008-01-23 10:07:31.000000000 -0800 @@ -260,7 +260,7 @@ static unsigned char asn1_eoc_decode(str { unsigned char ch; - if (eoc == 0) { + if (eoc == NULL) { if (!asn1_octet_decode(ctx, &ch)) return 0; -- Stephen Hemminger