[PATCH v2 0/2] mtd: nand: rework nand_ecc_ctrl interface for OOB

Bastian Hecht hechtb at googlemail.com
Wed Apr 25 12:07:14 EDT 2012


Hello,

this should be an sh_flctl unrelated problem. Guennadi, have you seen
this error somewhere before?

thanks,

 Bastian Hecht

> --------------------------------------------------------------------------------
> Failed to build the following commit for configuration "l2_mackerel_defconfig" (architecture arm)":
>
> 54043ff MIPS: Kbuild: remove -Werror
>
> In file included from include/linux/kernel.h:19:0,
>                 from include/linux/cache.h:4,
>                 from include/linux/time.h:7,
>                 from include/linux/stat.h:60,
>                 from include/linux/module.h:10,
>                 from drivers/mtd/nand/sh_flctl.c:24:
> include/linux/bitops.h: In function 'hweight_long':
> include/linux/bitops.h:66:26: warning: signed and unsigned type in conditional expression [-Wsign-compare]
> drivers/mtd/nand/sh_flctl.c: In function 'set_addr':
> drivers/mtd/nand/sh_flctl.c:117:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
> drivers/mtd/nand/sh_flctl.c: In function 'flctl_cmdfunc':
> drivers/mtd/nand/sh_flctl.c:611:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
> drivers/mtd/nand/sh_flctl.c:638:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
> In file included from include/linux/kernel.h:19:0,
>                 from include/linux/cache.h:4,
>                 from include/linux/time.h:7,
>                 from include/linux/stat.h:60,
>                 from include/linux/module.h:10,
>                 from init/version.c:10:
> include/linux/bitops.h: In function 'hweight_long':
> include/linux/bitops.h:66:26: warning: signed and unsigned type in conditional expression [-Wsign-compare]
> arch/arm/mach-shmobile/built-in.o: In function `mackerel_sdhi0_gpio_cd':
> pfc-sh7372.c:(.text+0x33ec): undefined reference to `mmc_detect_change'
> make[1]: *** [.tmp_vmlinux1] Error 1
>



More information about the linux-mtd mailing list