Re: drivers/mtd/nand/xway_nand.c:235:1: error: type defaults to 'int' in declaration of 'MODULE_DEVICE_TABLE'

From: Paul Gortmaker
Date: Tue Dec 20 2016 - 16:22:04 EST


[Re: drivers/mtd/nand/xway_nand.c:235:1: error: type defaults to 'int' in declaration of 'MODULE_DEVICE_TABLE'] On 20/12/2016 (Tue 16:09) Paul Gortmaker wrote:

> [drivers/mtd/nand/xway_nand.c:235:1: error: type defaults to 'int' in declaration of 'MODULE_DEVICE_TABLE'] On 21/12/2016 (Wed 03:16) kbuild test robot wrote:
>
> > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> > head: e93b1cc8a8965da137ffea0b88e5f62fa1d2a9e6
> > commit: d47529b2e9fe0ec2eb1f072afad8849f52e385c4 gpio: don't include module.h in shared driver header
> > date: 3 months ago
> > config: mips-xway_defconfig (attached as .config)
>
> Is this config not in tree? I don't see it in linux-next:
>
> $ make mips-xway_defconfig
> ***
> *** Can't find default configuration "arch/mips/configs/mips-xway_defconfig"!
>

Nevermind ; took me a moment to realize it was using $ARCH-$DEFCONFIG
in the above kbuild test results naming. I've tested the fix on the
xway_defconfig for ARCH=mips and it works as expected.

Thanks,
Paul.