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

Stephen Rothwell
2011-12-14T04:48:55Z

[-- Attachment #1: Type: text/plain, Size: 903 bytes --]

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@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]