[PATCH]: net-2.6.26 IPv6 build fix
From: David Miller <davem@davemloft.net>
Date: 2008-03-06 04:58:54
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: David Miller <davem@davemloft.net>
Date: 2008-03-06 04:58:54
Subsystem:
the rest · Maintainer:
Linus Torvalds
I just checked the following build warning fix into
net-2.6.26
commit f59d43899e279c77924a7ada4bec8c70e5aeca06
Author: David S. Miller [off-list ref]
Date: Wed Mar 5 20:58:10 2008 -0800
[IPV6]: Fix powerpc allmodconfig build warnings.
Introduced by changeset 95e41e93e18d8e1e272ce23d96bae4f17ce11d42
("[IPV6]: Make ndisc_flow_init() common for later use.")
Reported by Stephen Rothwell.
In file included from net/ipv6/netfilter/ip6_tables.c:21:
include/linux/icmpv6.h:192: warning: 'struct in6_addr' declared inside parameter list
include/linux/icmpv6.h:192: warning: its scope is only this definition or declaration, which is probably not what you want
Signed-off-by: David S. Miller [off-list ref]
diff --git a/include/linux/icmpv6.h b/include/linux/icmpv6.h
index e4d4300..0306744 100644
--- a/include/linux/icmpv6.h
+++ b/include/linux/icmpv6.h@@ -184,6 +184,7 @@ extern void icmpv6_param_prob(struct sk_buff *skb, int code, int pos); struct flowi; +struct in6_addr; extern void icmpv6_flow_init(struct sock *sk, struct flowi *fl, u8 type,