linux-next: build failure after merge of the driver-core tree

From: Stephen Rothwell
Date: Tue Dec 13 2011 - 23:48:55 EST


Hi Greg,

After merging the driver-core tree, today's linux-next build
(powerpc_ppc64_defconfig) failed like this:

In file included from include/linux/slab.h:185:0,
from include/linux/kref.h:19,
from include/linux/kobject.h:24,
from include/linux/sysdev.h:24,
from include/linux/node.h:17,
from include/linux/swap.h:10,
from include/linux/suspend.h:4,
from arch/powerpc/kernel/asm-offsets.c:24:
include/linux/slub_def.h:100:17: error: field 'kobj' has incomplete type

Caused by commit 4af679cd7cbb ("kref: Inline all functions") ... we now
have kref.h -> slab.h -> slub_def.h -> kobject.h -> kref.h when
CONFIG_SLUB is set.

I have used the driver-core tree from next-20111213 for today.

--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx

Attachment: pgp00000.pgp
Description: PGP signature