[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20080305.205853.128294655.davem@davemloft.net>
Date: Wed, 05 Mar 2008 20:58:53 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: netdev@...r.kernel.org
CC: yoshfuji@...ux-ipv6.org
Subject: [PATCH]: 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 <davem@...emloft.net>
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 <davem@...emloft.net>
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,
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists