All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Sachin P. Sant" <sachinp@in.ibm.com>
To: linuxppc-dev@ozlabs.org
Cc: yoshfuji@linux-ipv6.org, Mel Gorman <mel@csn.ul.ie>,
	davem@davemloft.net, linux-kernel <linux-kernel@vger.kernel.org>,
	Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Subject: [Patch] 2.6.29-rc3-git2 - Fix net/ipv6/ip6mr.o build break
Date: Sat, 31 Jan 2009 11:55:39 +0530	[thread overview]
Message-ID: <4983EEE3.3080208@in.ibm.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 668 bytes --]

allmodconfig build breaks with following error.

 CHK     include/linux/version.h
 CHK     include/linux/utsrelease.h
 SYMLINK include/asm -> include/asm-powerpc
 CALL    scripts/checksyscalls.sh
 CHK     include/linux/compile.h
 CALL    arch/powerpc/kernel/systbl_chk.sh
 CALL    arch/powerpc/kernel/prom_init_check.sh
 CC [M]  net/ipv6/ip6mr.o
net/ipv6/ip6mr.c: In function pim6_rcv:
net/ipv6/ip6mr.c:366: error: implicit declaration of function csum_ipv6_magic
make[2]: *** [net/ipv6/ip6mr.o] Error 1
make[1]: *** [net/ipv6] Error 2
make: *** [net] Error 2

Following patch fixes this issue.

thanks
-Sachin


Signed-off-by : Sachin Sant <sachinp@in.ibm.com>
---



[-- Attachment #2: fix-ipv6-ip6mr-build-break.patch --]
[-- Type: text/x-patch, Size: 462 bytes --]

* Fix ip6mr build break (undefined csum_ipv6_magic symbol)

Signed-off-by : Sachin Sant (sachinp@in.ibm.com)
---

diff -Naurp a/net/ipv6/ip6mr.c b/net/ipv6/ip6mr.c
--- a/net/ipv6/ip6mr.c	2009-01-31 13:58:00.000000000 +0530
+++ b/net/ipv6/ip6mr.c	2009-01-31 13:59:16.000000000 +0530
@@ -43,6 +43,7 @@
 #include <net/netlink.h>
 
 #include <net/ipv6.h>
+#include <net/ip6_checksum.h>
 #include <net/ip6_route.h>
 #include <linux/mroute6.h>
 #include <linux/pim.h>

WARNING: multiple messages have this Message-ID (diff)
From: "Sachin P. Sant" <sachinp@in.ibm.com>
To: linuxppc-dev@ozlabs.org
Cc: davem@davemloft.net, yoshfuji@linux-ipv6.org,
	Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>,
	Mel Gorman <mel@csn.ul.ie>,
	linux-kernel <linux-kernel@vger.kernel.org>
Subject: [Patch] 2.6.29-rc3-git2 - Fix net/ipv6/ip6mr.o build break
Date: Sat, 31 Jan 2009 11:55:39 +0530	[thread overview]
Message-ID: <4983EEE3.3080208@in.ibm.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 668 bytes --]

allmodconfig build breaks with following error.

 CHK     include/linux/version.h
 CHK     include/linux/utsrelease.h
 SYMLINK include/asm -> include/asm-powerpc
 CALL    scripts/checksyscalls.sh
 CHK     include/linux/compile.h
 CALL    arch/powerpc/kernel/systbl_chk.sh
 CALL    arch/powerpc/kernel/prom_init_check.sh
 CC [M]  net/ipv6/ip6mr.o
net/ipv6/ip6mr.c: In function pim6_rcv:
net/ipv6/ip6mr.c:366: error: implicit declaration of function csum_ipv6_magic
make[2]: *** [net/ipv6/ip6mr.o] Error 1
make[1]: *** [net/ipv6] Error 2
make: *** [net] Error 2

Following patch fixes this issue.

thanks
-Sachin


Signed-off-by : Sachin Sant <sachinp@in.ibm.com>
---



[-- Attachment #2: fix-ipv6-ip6mr-build-break.patch --]
[-- Type: text/x-patch, Size: 462 bytes --]

* Fix ip6mr build break (undefined csum_ipv6_magic symbol)

Signed-off-by : Sachin Sant (sachinp@in.ibm.com)
---

diff -Naurp a/net/ipv6/ip6mr.c b/net/ipv6/ip6mr.c
--- a/net/ipv6/ip6mr.c	2009-01-31 13:58:00.000000000 +0530
+++ b/net/ipv6/ip6mr.c	2009-01-31 13:59:16.000000000 +0530
@@ -43,6 +43,7 @@
 #include <net/netlink.h>
 
 #include <net/ipv6.h>
+#include <net/ip6_checksum.h>
 #include <net/ip6_route.h>
 #include <linux/mroute6.h>
 #include <linux/pim.h>

             reply	other threads:[~2009-01-31  6:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-31  6:25 Sachin P. Sant [this message]
2009-01-31  6:25 ` [Patch] 2.6.29-rc3-git2 - Fix net/ipv6/ip6mr.o build break Sachin P. Sant
2009-01-31  8:50 ` David Miller
2009-01-31  8:50   ` David 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=4983EEE3.3080208@in.ibm.com \
    --to=sachinp@in.ibm.com \
    --cc=davem@davemloft.net \
    --cc=kamalesh@linux.vnet.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=mel@csn.ul.ie \
    --cc=yoshfuji@linux-ipv6.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.