linux-next: build failure after merge of the final tree (char-misc tree related)

From: Stephen Rothwell
Date: Mon Mar 03 2014 - 03:40:14 EST


Hi all,

After merging the final tree, today's linux-next build (arm defconfig)
failed like this:

drivers/mcb/mcb-pci.c: At top level:
drivers/mcb/mcb-pci.c:110:1: warning: data definition has no type or storage class [enabled by default]
drivers/mcb/mcb-pci.c:110:1: error: type defaults to 'int' in declaration of 'module_pci_driver' [-Werror=implicit-int]
drivers/mcb/mcb-pci.c:110:1: warning: parameter names (without types) in function declaration [enabled by default]
drivers/mcb/mcb-pci.c:103:26: warning: 'mcb_pci_driver' defined but not used [-Wunused-variable]

Caused by commit b71bb8639891 ("mcb: Add PCI carrier for MEN Chameleon
Bus") from the char-misc tree. module_pci_driver is defined in
linux/pci.h only if CONFIG_PCI is defined (which is not true for this
build).

I have reverted that commit for today.
--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx

Attachment: pgpjlAS6Ob9F2.pgp
Description: PGP signature