* linux-next: infiniband tree build failure
@ 2009-11-20 0:03 Stephen Rothwell
2009-11-20 0:19 ` Roland Dreier
0 siblings, 1 reply; 7+ messages in thread
From: Stephen Rothwell @ 2009-11-20 0:03 UTC (permalink / raw)
To: Roland Dreier, general; +Cc: linux-next, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 347 bytes --]
Hi all,
Today's linux-next build (powerpc ppc64_defconfig) failed like this:
ERROR: ".__ipv6_addr_type" [drivers/infiniband/core/rdma_cm.ko] undefined!
I have used the version of the infiniband tree from next-20091119 for
today.
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: linux-next: infiniband tree build failure
2009-11-20 0:03 linux-next: infiniband tree build failure Stephen Rothwell
@ 2009-11-20 0:19 ` Roland Dreier
2009-11-20 0:30 ` Sean Hefty
2009-11-20 0:34 ` Stephen Rothwell
0 siblings, 2 replies; 7+ messages in thread
From: Roland Dreier @ 2009-11-20 0:19 UTC (permalink / raw)
To: Stephen Rothwell, sean.hefty; +Cc: general, linux-next, linux-kernel
> Today's linux-next build (powerpc ppc64_defconfig) failed like this:
>
> ERROR: ".__ipv6_addr_type" [drivers/infiniband/core/rdma_cm.ko] undefined!
>
> I have used the version of the infiniband tree from next-20091119 for
> today.
Sorry, will track it down. Sean this probably came from your patches,
any idea off the top of your head?
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: linux-next: infiniband tree build failure
2009-11-20 0:19 ` Roland Dreier
@ 2009-11-20 0:30 ` Sean Hefty
2009-11-20 0:43 ` Roland Dreier
2009-11-20 0:45 ` Roland Dreier
2009-11-20 0:34 ` Stephen Rothwell
1 sibling, 2 replies; 7+ messages in thread
From: Sean Hefty @ 2009-11-20 0:30 UTC (permalink / raw)
To: 'Roland Dreier', Stephen Rothwell
Cc: general, linux-next, linux-kernel
>Sorry, will track it down. Sean this probably came from your patches,
>any idea off the top of your head?
Off the top of my head, I'll guess that maybe we need to add something like
#if defined(CONFIG_IPv6) || defined(CONFIG_IPV6_MODULE)
to cma_check_linklocal() in cma.c. Does this build failure occur when IPv6 is
excluded?
- Sean
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: linux-next: infiniband tree build failure
2009-11-20 0:19 ` Roland Dreier
2009-11-20 0:30 ` Sean Hefty
@ 2009-11-20 0:34 ` Stephen Rothwell
1 sibling, 0 replies; 7+ messages in thread
From: Stephen Rothwell @ 2009-11-20 0:34 UTC (permalink / raw)
To: Roland Dreier; +Cc: sean.hefty, general, linux-next, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 638 bytes --]
Hi Roland, Sean,
On Thu, 19 Nov 2009 16:19:29 -0800 Roland Dreier <rdreier@cisco.com> wrote:
>
>
> > Today's linux-next build (powerpc ppc64_defconfig) failed like this:
> >
> > ERROR: ".__ipv6_addr_type" [drivers/infiniband/core/rdma_cm.ko] undefined!
> >
> > I have used the version of the infiniband tree from next-20091119 for
> > today.
>
> Sorry, will track it down. Sean this probably came from your patches,
> any idea off the top of your head?
Big hint: IPV6 is not enabled in this config.
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: linux-next: infiniband tree build failure
2009-11-20 0:30 ` Sean Hefty
@ 2009-11-20 0:43 ` Roland Dreier
2009-11-20 0:45 ` Roland Dreier
1 sibling, 0 replies; 7+ messages in thread
From: Roland Dreier @ 2009-11-20 0:43 UTC (permalink / raw)
To: Sean Hefty; +Cc: Stephen Rothwell, general, linux-next, linux-kernel
> Off the top of my head, I'll guess that maybe we need to add something like
> #if defined(CONFIG_IPv6) || defined(CONFIG_IPV6_MODULE)
Yes, makes sense, I'll throw that in.
- R.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: linux-next: infiniband tree build failure
2009-11-20 0:30 ` Sean Hefty
2009-11-20 0:43 ` Roland Dreier
@ 2009-11-20 0:45 ` Roland Dreier
2009-11-20 0:52 ` Sean Hefty
1 sibling, 1 reply; 7+ messages in thread
From: Roland Dreier @ 2009-11-20 0:45 UTC (permalink / raw)
To: Sean Hefty; +Cc: Stephen Rothwell, general, linux-next, linux-kernel
OK, so I threw this into the ipv6 patch, I think it's right:
diff --git a/drivers/infiniband/core/cma.c b/drivers/infiniband/core/cma.c
index 71e616a..fbdd731 100644
--- a/drivers/infiniband/core/cma.c
+++ b/drivers/infiniband/core/cma.c
@@ -2083,6 +2083,7 @@ static int cma_get_port(struct rdma_id_private *id_priv)
static int cma_check_linklocal(struct rdma_dev_addr *dev_addr,
struct sockaddr *addr)
{
+#if defined(CONFIG_IPv6) || defined(CONFIG_IPV6_MODULE)
struct sockaddr_in6 *sin6;
if (addr->sa_family != AF_INET6)
@@ -2094,6 +2095,7 @@ static int cma_check_linklocal(struct rdma_dev_addr *dev_addr,
return -EINVAL;
dev_addr->bound_dev_if = sin6->sin6_scope_id;
+#endif
return 0;
}
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: linux-next: infiniband tree build failure
2009-11-20 0:45 ` Roland Dreier
@ 2009-11-20 0:52 ` Sean Hefty
0 siblings, 0 replies; 7+ messages in thread
From: Sean Hefty @ 2009-11-20 0:52 UTC (permalink / raw)
To: 'Roland Dreier'; +Cc: Stephen Rothwell, linux-next, linux-kernel
>OK, so I threw this into the ipv6 patch, I think it's right:
Looks correct - thanks.
>diff --git a/drivers/infiniband/core/cma.c b/drivers/infiniband/core/cma.c
>index 71e616a..fbdd731 100644
>--- a/drivers/infiniband/core/cma.c
>+++ b/drivers/infiniband/core/cma.c
>@@ -2083,6 +2083,7 @@ static int cma_get_port(struct rdma_id_private *id_priv)
> static int cma_check_linklocal(struct rdma_dev_addr *dev_addr,
> struct sockaddr *addr)
> {
>+#if defined(CONFIG_IPv6) || defined(CONFIG_IPV6_MODULE)
> struct sockaddr_in6 *sin6;
>
> if (addr->sa_family != AF_INET6)
>@@ -2094,6 +2095,7 @@ static int cma_check_linklocal(struct rdma_dev_addr
>*dev_addr,
> return -EINVAL;
>
> dev_addr->bound_dev_if = sin6->sin6_scope_id;
>+#endif
> return 0;
> }
>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-11-20 0:52 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-20 0:03 linux-next: infiniband tree build failure Stephen Rothwell
2009-11-20 0:19 ` Roland Dreier
2009-11-20 0:30 ` Sean Hefty
2009-11-20 0:43 ` Roland Dreier
2009-11-20 0:45 ` Roland Dreier
2009-11-20 0:52 ` Sean Hefty
2009-11-20 0:34 ` Stephen Rothwell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®