From: Con Kolivas <kernel@kolivas.org>
To: unlisted-recipients:; (no To-header on input)
Cc: linux kernel mailing list <linux-kernel@vger.kernel.org>,
Andrew Morton <akpm@osdl.org>
Subject: Re: [PATCH][2.6.8-rc1-mm1] ipv6/route.c gcc-341 fix inline
Date: Sun, 25 Jul 2004 20:14:22 +1000 [thread overview]
Message-ID: <410387FE.30201@kolivas.org> (raw)
In-Reply-To: <410381B4.1080302@kolivas.org>
[-- 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 --]
next prev parent reply other threads:[~2004-07-25 10:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2004-07-26 0:33 ` David S. Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=410387FE.30201@kolivas.org \
--to=kernel@kolivas.org \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox