Skip to contentSkip to conversation

linux-next: build failure after merge of the net-next tree

PATCH Applied Stephen Rothwell 2 participants 5 messages Mar 5, 2015 – Mar 6, 2015

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the net-next tree, today's linux-next build (powerpc allyesconfig) failed like this:

net/mpls/af_mpls.c: In function 'resize_platform_label_table':
net/mpls/af_mpls.c:767:4: error: implicit declaration of function 'vzalloc' [-Werror=implicit-function-declaration]

    labels = vzalloc(size);
    ^

Caused by commit 7720c01f3f59 ("mpls: Add a sysctl to control the size of the mpls label table").

I have added this commit for today:

From: Stephen Rothwell <[email protected]>
Date: Thu, 5 Mar 2015 13:37:05 +1100
Subject: [PATCH] mpls: using vzalloc requires including vmalloc.h

Fixes this build error:

net/mpls/af_mpls.c: In function 'resize_platform_label_table':
net/mpls/af_mpls.c:767:4: error: implicit declaration of function 'vzalloc' [-Werror=implicit-function-declaration]

    labels = vzalloc(size);
    ^
Fixes 7720c01f3f59 ("mpls: Add a sysctl to control the size of the mpls label table")
---
 net/mpls/af_mpls.c | 1 +
 1 file changed, 1 insertion(+)
net/mpls/af_mpls.c +1 -0
index 23e51d13b0ff..20cf48a8593d 100644
@@ -7,6 +7,7 @@
 #include <linux/if_arp.h>
 #include <linux/ipv6.h>
 #include <linux/mpls.h>
+#include <linux/vmalloc.h>
 #include <net/ip.h>
 #include <net/dst.h>
 #include <net/sock.h>
Signature · 5 lines
2.1.4

-- 
Cheers,
Stephen Rothwell                    [email protected]
maintainer Applied
#1 lore raw

From: Stephen Rothwell <[email protected]>
Date: Thu, 5 Mar 2015 13:42:47 +1100

Quoted 6 lines

From: Stephen Rothwell <[email protected]>
Date: Thu, 5 Mar 2015 13:37:05 +1100
Subject: [PATCH] mpls: using vzalloc requires including vmalloc.h

Fixes this build error:

Quoted 7 lines

net/mpls/af_mpls.c: In function 'resize_platform_label_table':
net/mpls/af_mpls.c:767:4: error: implicit declaration of function 'vzalloc' [-Werror=implicit-function-declaration]

    labels = vzalloc(size);
    ^
Fixes 7720c01f3f59 ("mpls: Add a sysctl to control the size of the mpls label table")

Applied, thanks Stephen.

#2 lore raw

Hi Dave,

Quoted 15 lines · On Thu, 05 Mar 2015 00:01:58 -0500 (EST) David Miller <[email protected]>…

From: Stephen Rothwell <[email protected]>
Date: Thu, 5 Mar 2015 13:42:47 +1100

Quoted 11 lines

From: Stephen Rothwell <[email protected]>
Date: Thu, 5 Mar 2015 13:37:05 +1100
Subject: [PATCH] mpls: using vzalloc requires including vmalloc.h

Fixes this build error:

net/mpls/af_mpls.c: In function 'resize_platform_label_table':
net/mpls/af_mpls.c:767:4: error: implicit declaration of function 'vzalloc' [-Werror=implicit-function-declaration]

    labels = vzalloc(size);
    ^
Quoted 4 lines
Quoted 2 lines
Fixes 7720c01f3f59 ("mpls: Add a sysctl to control the size of the mpls label table")

Applied, thanks Stephen.

I don't see it in net-next?

Signature · 2 lines
Cheers,
Stephen Rothwell                    [email protected]
maintainer
#3 lore raw

From: Stephen Rothwell <[email protected]>
Date: Fri, 6 Mar 2015 10:26:14 +1100

Quoted 16 lines · On Thu, 05 Mar 2015 00:01:58 -0500 (EST) David Miller <[email protected]>…
Quoted 15 lines

From: Stephen Rothwell <[email protected]>
Date: Thu, 5 Mar 2015 13:42:47 +1100

Quoted 11 lines

From: Stephen Rothwell <[email protected]>
Date: Thu, 5 Mar 2015 13:37:05 +1100
Subject: [PATCH] mpls: using vzalloc requires including vmalloc.h

Fixes this build error:

net/mpls/af_mpls.c: In function 'resize_platform_label_table':
net/mpls/af_mpls.c:767:4: error: implicit declaration of function 'vzalloc' [-Werror=implicit-function-declaration]

    labels = vzalloc(size);
    ^
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines
Fixes 7720c01f3f59 ("mpls: Add a sysctl to control the size of the mpls label table")

Applied, thanks Stephen.

I don't see it in net-next?

The perils of working on multiple workstations :-)

Pushed out now, sorry about that.

#4 lore raw

Hi Dave,

Quoted 4 lines · On Thu, 05 Mar 2015 21:01:47 -0500 (EST) David Miller <[email protected]>…

The perils of working on multiple workstations :-)

Pushed out now, sorry about that.

No worries. I know what its like as we get older ;-)

Signature · 2 lines
Cheers,
Stephen Rothwell                    [email protected]