projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
edc26f7
)
[NETFILTER]: nf_nat_snmp: sparse warning
author
Stephen Hemminger
<shemminger@vyatta.com>
Thu, 31 Jan 2008 12:07:08 +0000
(
04:07
-0800)
committer
David S. Miller
<davem@davemloft.net>
Fri, 1 Feb 2008 03:27:44 +0000
(19:27 -0800)
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/nf_nat_snmp_basic.c
patch
|
blob
|
history
diff --git
a/net/ipv4/netfilter/nf_nat_snmp_basic.c
b/net/ipv4/netfilter/nf_nat_snmp_basic.c
index 07f2a49926d4ae1c5ffe6227e0058ff3b19dff05..540ce6ae887c0a797f8db68cb99a0be8c69c98ac 100644
(file)
--- a/
net/ipv4/netfilter/nf_nat_snmp_basic.c
+++ b/
net/ipv4/netfilter/nf_nat_snmp_basic.c
@@
-260,7
+260,7
@@
static unsigned char asn1_eoc_decode(struct asn1_ctx *ctx, unsigned char *eoc)
{
unsigned char ch;
- if (eoc ==
0
) {
+ if (eoc ==
NULL
) {
if (!asn1_octet_decode(ctx, &ch))
return 0;