* linux-next: build failure after merge of the slabh tree
@ 2010-04-01 5:41 Stephen Rothwell
2010-04-01 7:29 ` David Miller
0 siblings, 1 reply; 4+ messages in thread
From: Stephen Rothwell @ 2010-04-01 5:41 UTC (permalink / raw)
To: Tejun Heo
Cc: linux-next, linux-kernel, Sjur Braendeland, David Miller, netdev
Hi Tejun,
After merging the slabh tree, today's linux-next build (x86_64
allmodconfig) failed like this:
net/caif/cfcnfg.c: In function 'cfcnfg_create':
net/caif/cfcnfg.c:68: error: implicit declaration of function 'kmalloc'
net/caif/cfcnfg.c:68: warning: assignment makes pointer from integer without a cast
net/caif/cfcnfg.c:100: error: implicit declaration of function 'kfree'
Caused by commit 15c9ac0c80e390df09ce5730a7b08b13e07a8dd5 ("net-caif: add
CAIF generic caif support functions") from the net interacting with
commit de380b55f92986c1a84198149cb71b7228d15fbd ("percpu: don't
implicitly include slab.h from percpu.h") from the slabh tree.
I have applied the following patch for today. Dave, could you apply this
to the net tree please?
From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Thu, 1 Apr 2010 16:31:50 +1100
Subject: [PATCH] net-caif: using kmalloc/kfree requires the include of slab.h
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
net/caif/cfcnfg.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/net/caif/cfcnfg.c b/net/caif/cfcnfg.c
index 70a733d..c873e3d 100644
--- a/net/caif/cfcnfg.c
+++ b/net/caif/cfcnfg.c
@@ -5,6 +5,7 @@
*/
#include <linux/kernel.h>
#include <linux/stddef.h>
+#include <linux/slab.h>
#include <net/caif/caif_layer.h>
#include <net/caif/cfpkt.h>
#include <net/caif/cfcnfg.h>
--
1.7.0.3
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: linux-next: build failure after merge of the slabh tree
2010-04-01 5:41 linux-next: build failure after merge of the slabh tree Stephen Rothwell
@ 2010-04-01 7:29 ` David Miller
2010-04-01 7:31 ` Tejun Heo
2010-04-01 7:40 ` Stephen Rothwell
0 siblings, 2 replies; 4+ messages in thread
From: David Miller @ 2010-04-01 7:29 UTC (permalink / raw)
To: sfr; +Cc: tj, linux-next, linux-kernel, sjur.brandeland, netdev
From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Thu, 1 Apr 2010 16:41:10 +1100
> I have applied the following patch for today. Dave, could you apply this
> to the net tree please?
Done.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: linux-next: build failure after merge of the slabh tree
2010-04-01 7:29 ` David Miller
@ 2010-04-01 7:31 ` Tejun Heo
2010-04-01 7:40 ` Stephen Rothwell
1 sibling, 0 replies; 4+ messages in thread
From: Tejun Heo @ 2010-04-01 7:31 UTC (permalink / raw)
To: David Miller; +Cc: sfr, linux-next, linux-kernel, sjur.brandeland, netdev
On 04/01/2010 04:29 PM, David Miller wrote:
> From: Stephen Rothwell <sfr@canb.auug.org.au>
> Date: Thu, 1 Apr 2010 16:41:10 +1100
>
>> I have applied the following patch for today. Dave, could you apply this
>> to the net tree please?
>
> Done.
Thanks!
--
tejun
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: linux-next: build failure after merge of the slabh tree
2010-04-01 7:29 ` David Miller
2010-04-01 7:31 ` Tejun Heo
@ 2010-04-01 7:40 ` Stephen Rothwell
1 sibling, 0 replies; 4+ messages in thread
From: Stephen Rothwell @ 2010-04-01 7:40 UTC (permalink / raw)
To: David Miller; +Cc: tj, linux-next, linux-kernel, sjur.brandeland, netdev
[-- Attachment #1: Type: text/plain, Size: 433 bytes --]
Hi Dave,
On Thu, 01 Apr 2010 00:29:08 -0700 (PDT) David Miller <davem@davemloft.net> wrote:
>
> From: Stephen Rothwell <sfr@canb.auug.org.au>
> Date: Thu, 1 Apr 2010 16:41:10 +1100
>
> > I have applied the following patch for today. Dave, could you apply this
> > to the net tree please?
>
> Done.
Thanks.
--
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] 4+ messages in thread
end of thread, other threads:[~2010-04-01 7:40 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-01 5:41 linux-next: build failure after merge of the slabh tree Stephen Rothwell
2010-04-01 7:29 ` David Miller
2010-04-01 7:31 ` Tejun Heo
2010-04-01 7:40 ` Stephen Rothwell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox