linux-next: build failure after merge of the tip tree
Subsystems (3)
Hi all,
After merging the tip tree, today's linux-next build (x86_allmodconfig) failed like this:
drivers/net/ethernet/cavium/liquidio/request_manager.c: In function 'octeon_init_instr_queue':
drivers/net/ethernet/cavium/liquidio/request_manager.c:111:2: error: implicit declaration of function 'vmalloc' [-Werror=implicit-function-declaration]
iq->request_list = vmalloc(sizeof(*iq->request_list) * num_descs);
^
drivers/net/ethernet/cavium/liquidio/request_manager.c: In function 'octeon_delete_instr_queue':
drivers/net/ethernet/cavium/liquidio/request_manager.c:178:3: error: implicit declaration of function 'vfree' [-Werror=implicit-function-declaration]
vfree(iq->request_list);
^
drivers/net/ethernet/cavium/liquidio/octeon_device.c: In function 'octeon_free_device_mem':
drivers/net/ethernet/cavium/liquidio/octeon_device.c:653:4: error: implicit declaration of function 'vfree' [-Werror=implicit-function-declaration]
vfree(oct->droq[i]);
^And so on.
Caused by the interaction of commit d6472302f242 "x86/mm: Decouple <linux/vmalloc.h> from <asm/io.h>" from the tip tree with commit f21fb3ed364b "Add support of Cavium Liquidio ethernet adapters" from the net-next tree.
I applied the following fix for today:
drivers/net/ethernet/cavium/liquidio/octeon_device.c +1 -0
@@ -27,6 +27,7 @@#include <linux/crc32.h> #include <linux/kthread.h> #include <linux/netdevice.h> +#include <linux/vmalloc.h> #include "octeon_config.h" #include "liquidio_common.h" #include "octeon_droq.h"
drivers/net/ethernet/cavium/liquidio/octeon_droq.c +1 -0
@@ -25,6 +25,7 @@#include <linux/pci.h> #include <linux/kthread.h> #include <linux/netdevice.h> +#include <linux/vmalloc.h> #include "octeon_config.h" #include "liquidio_common.h" #include "octeon_droq.h"
drivers/net/ethernet/cavium/liquidio/request_manager.c +1 -0
@@ -26,6 +26,7 @@#include <linux/pci.h> #include <linux/kthread.h> #include <linux/netdevice.h> +#include <linux/vmalloc.h> #include "octeon_config.h" #include "liquidio_common.h" #include "octeon_droq.h"
cheers
David Miller
maintainerFrom: "Chickles, Derek" <[email protected]>
Date: Fri, 12 Jun 2015 15:59:54 +0000
Quoted 14 lines
Quoted 14 lines
-----Original Message-----
From: Michael Ellerman [mailto:[email protected]]
Sent: Friday, June 12, 2015 3:51 AM
To: Thomas Gleixner; Ingo Molnar; H. Peter Anvin; Peter Zijlstra; David S.Miller
Cc: [email protected]; [email protected]; [email protected]; Chickles, Derek; Burla, Satananda; Manlunas, Felix; Richter, Robert; Makarov, Aleksey; Vatsavayi, Raghu
Subject: linux-next: build failure after merge of the tip treeHi all,
After merging the tip tree, today's linux-next build (
x86_allmodconfig) failed like this:
...
Quoted 8 lines
Quoted 8 lines
And so on.
Caused by the interaction of commit
d6472302f242"x86/mm: Decouple <linux/vmalloc.h> from <asm/io.h>" from the tip tree with commitf21fb3ed364b
"Add support of Cavium Liquidio ethernet adapters" from the net-next tree.I applied the following fix for today:
...
Quoted 1 line
Thanks. Much appreciated.
This doesn't work, neither of these emails are a formal proper submission of a fix for this build failure.
One of you has to do the work to formally submit the patch to netdev with a full signoff and commit log message so that it gets fixed in my tree.
Thanks.
Quoted 7 lines
-----Original Message-----
From: David Miller [mailto:[email protected]]
...Quoted 1 line
Thanks. Much appreciated.
Quoted 8 lines
This doesn't work, neither of these emails are a formal proper submission of a fix for this build failure.
One of you has to do the work to formally submit the patch to netdev with a full signoff and commit log message so that it gets fixed in my tree.
Thanks.
Yes, we're working on this. Hopefully, we'll have this submitted later today, with the build fix and sparse warning fixes.