netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH][IPV6] compile fix for net/ipv6/route.c in current bk
@ 2003-05-18  2:29 James Morris
  2003-05-18  3:02 ` Arnaldo Carvalho de Melo
  2003-05-18  5:13 ` David S. Miller
  0 siblings, 2 replies; 3+ messages in thread
From: James Morris @ 2003-05-18  2:29 UTC (permalink / raw)
  To: David S. Miller
  Cc: YOSHIFUJI Hideaki / 吉藤英明, kuznet,
	netdev

This version of the ip6_null_entry initializer is needed for complation to 
succeed with gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-110).


- James
-- 
James Morris
<jmorris@intercode.com.au>

--- bk.pending/net/ipv6/route.c	Sun May 18 11:51:40 2003
+++ bk.w1/net/ipv6/route.c	Sun May 18 13:26:28 2003
@@ -108,7 +108,7 @@
 			.dev		= &loopback_dev,
 			.obsolete	= -1,
 			.error		= -ENETUNREACH,
-			.metrics[RTAX_HOPLIMIT-1] = 255,
+			.metrics	= {[RTAX_HOPLIMIT-1] = 255},
 			.input		= ip6_pkt_discard,
 			.output		= ip6_pkt_discard,
 			.ops		= &ip6_dst_ops,

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH][IPV6] compile fix for net/ipv6/route.c in current bk
  2003-05-18  2:29 [PATCH][IPV6] compile fix for net/ipv6/route.c in current bk James Morris
@ 2003-05-18  3:02 ` Arnaldo Carvalho de Melo
  2003-05-18  5:13 ` David S. Miller
  1 sibling, 0 replies; 3+ messages in thread
From: Arnaldo Carvalho de Melo @ 2003-05-18  3:02 UTC (permalink / raw)
  To: James Morris
  Cc: David S. Miller, YOSHIFUJI Hideaki / ?$B5HF#1QL@, kuznet, netdev

Em Sun, May 18, 2003 at 12:29:53PM +1000, James Morris escreveu:
> This version of the ip6_null_entry initializer is needed for complation to 
> succeed with gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-110).

Already in davem's tree and submitted to Linus 8)

- Arnaldo

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH][IPV6] compile fix for net/ipv6/route.c in current bk
  2003-05-18  2:29 [PATCH][IPV6] compile fix for net/ipv6/route.c in current bk James Morris
  2003-05-18  3:02 ` Arnaldo Carvalho de Melo
@ 2003-05-18  5:13 ` David S. Miller
  1 sibling, 0 replies; 3+ messages in thread
From: David S. Miller @ 2003-05-18  5:13 UTC (permalink / raw)
  To: jmorris; +Cc: yoshfuji, kuznet, netdev

   From: James Morris <jmorris@intercode.com.au>
   Date: Sun, 18 May 2003 12:29:53 +1000 (EST)

   This version of the ip6_null_entry initializer is needed for complation to 
   succeed with gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-110).
   
I know, thanks.  I have a fix in my tree from Arnaldo.
Aparently only gcc-3.x eats this construct I used :-)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-05-18  5:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-18  2:29 [PATCH][IPV6] compile fix for net/ipv6/route.c in current bk James Morris
2003-05-18  3:02 ` Arnaldo Carvalho de Melo
2003-05-18  5:13 ` David S. Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).