public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH][2.6.8-rc1-mm1] ipv6/route.c gcc-341 fix inline
@ 2004-07-25  9:47 Con Kolivas
  2004-07-25 10:14 ` Con Kolivas
  2004-07-26  0:33 ` David S. Miller
  0 siblings, 2 replies; 3+ messages in thread
From: Con Kolivas @ 2004-07-25  9:47 UTC (permalink / raw)
  To: linux kernel mailing list, Andrew Morton


[-- Attachment #1.1: Type: text/plain, Size: 120 bytes --]

Fixes the inline error when compiling net/ipv6/route.c with gcc-3.4.1

Signed-off-by: Con Kolivas <kernel@kolivas.org>


[-- Attachment #1.2: gcc341-fix-ipv6 --]
[-- Type: text/plain, Size: 622 bytes --]

Index: linux-2.6.8-rc1-mm1/net/ipv6/route.c
===================================================================
--- linux-2.6.8-rc1-mm1.orig/net/ipv6/route.c	2004-07-25 19:32:32.554804276 +1000
+++ linux-2.6.8-rc1-mm1/net/ipv6/route.c	2004-07-25 19:42:22.899856237 +1000
@@ -584,7 +584,7 @@
 /* Protected by rt6_lock.  */
 static struct dst_entry *ndisc_dst_gc_list;
 static int ipv6_get_mtu(struct net_device *dev);
-static inline unsigned int ipv6_advmss(unsigned int mtu);
+static unsigned int ipv6_advmss(unsigned int mtu);
 
 struct dst_entry *ndisc_dst_alloc(struct net_device *dev, 
 				  struct neighbour *neigh,

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]

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

* Re: [PATCH][2.6.8-rc1-mm1] ipv6/route.c gcc-341 fix inline
  2004-07-25  9:47 [PATCH][2.6.8-rc1-mm1] ipv6/route.c gcc-341 fix inline Con Kolivas
@ 2004-07-25 10:14 ` Con Kolivas
  2004-07-26  0:33 ` David S. Miller
  1 sibling, 0 replies; 3+ messages in thread
From: Con Kolivas @ 2004-07-25 10:14 UTC (permalink / raw)
  Cc: linux kernel mailing list, Andrew Morton


[-- Attachment #1.1: Type: text/plain, Size: 163 bytes --]

Con Kolivas wrote:
> Fixes the inline error when compiling net/ipv6/route.c with gcc-3.4.1

oops. Missing a hunk.

Signed-off-by: Con Kolivas <kernel@kolivas.org>

[-- Attachment #1.2: gcc341-fix-ipv6 --]
[-- Type: text/plain, Size: 832 bytes --]

Index: linux-2.6.8-rc1-mm1/net/ipv6/route.c
===================================================================
--- linux-2.6.8-rc1-mm1.orig/net/ipv6/route.c	2004-07-25 19:51:31.174800809 +1000
+++ linux-2.6.8-rc1-mm1/net/ipv6/route.c	2004-07-25 20:11:03.881562316 +1000
@@ -584,7 +584,7 @@
 /* Protected by rt6_lock.  */
 static struct dst_entry *ndisc_dst_gc_list;
 static int ipv6_get_mtu(struct net_device *dev);
-static inline unsigned int ipv6_advmss(unsigned int mtu);
+static unsigned int ipv6_advmss(unsigned int mtu);
 
 struct dst_entry *ndisc_dst_alloc(struct net_device *dev, 
 				  struct neighbour *neigh,
@@ -692,7 +692,7 @@
 	return mtu;
 }
 
-static inline unsigned int ipv6_advmss(unsigned int mtu)
+static unsigned int ipv6_advmss(unsigned int mtu)
 {
 	mtu -= sizeof(struct ipv6hdr) + sizeof(struct tcphdr);
 

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]

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

* Re: [PATCH][2.6.8-rc1-mm1] ipv6/route.c gcc-341 fix inline
  2004-07-25  9:47 [PATCH][2.6.8-rc1-mm1] ipv6/route.c gcc-341 fix inline Con Kolivas
  2004-07-25 10:14 ` Con Kolivas
@ 2004-07-26  0:33 ` David S. Miller
  1 sibling, 0 replies; 3+ messages in thread
From: David S. Miller @ 2004-07-26  0:33 UTC (permalink / raw)
  To: Con Kolivas; +Cc: linux-kernel, akpm

On Sun, 25 Jul 2004 19:47:32 +1000
Con Kolivas <kernel@kolivas.org> wrote:

> Fixes the inline error when compiling net/ipv6/route.c with gcc-3.4.1

Applied, thanks.

Please send this, just like any other networking patch,
to netdev@oss.sgi.com next time.



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

end of thread, other threads:[~2004-07-26  0:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-25  9:47 [PATCH][2.6.8-rc1-mm1] ipv6/route.c gcc-341 fix inline Con Kolivas
2004-07-25 10:14 ` Con Kolivas
2004-07-26  0:33 ` 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