Skip to contentSkip to conversation

: net-2.6.26 IPv6 build fix

PATCH New David Miller 1 participant 1 message Mar 6, 2008

Subsystems (2)
lore
Share & tools
lore

David Miller

author maintainer
#0 lore raw

PATCH 1/1 : net-2.6.26 IPv6 build fix

I just checked the following build warning fix into net-2.6.26

commit f59d43899e279c77924a7ada4bec8c70e5aeca06

Author: David S. Miller <[email protected]>
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

include/linux/icmpv6.h +1 -0
index e4d4300..0306744 100644
@@ -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,