mtd related Cobalt build failure with current git

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I get the following Cobalt build failure with current git:

  CC      arch/mips/cobalt/mtd.o
cc1: warnings being treated as errors
In file included from arch/mips/cobalt/mtd.c:22:
include/linux/mtd/partitions.h:50: warning: ‘struct mtd_info’ declared inside parameter list
include/linux/mtd/partitions.h:50: warning: its scope is only this definition or declaration, which is probably not what you want
include/linux/mtd/partitions.h:51: warning: ‘struct mtd_info’ declared inside parameter list
include/linux/mtd/partitions.h:61: warning: ‘struct mtd_info’ declared inside parameter list
include/linux/mtd/partitions.h:67: warning: ‘struct mtd_info’ declared inside parameter list
make[1]: *** [arch/mips/cobalt/mtd.o] Error 1
make: *** [arch/mips/cobalt] Error 2

Does anyone know if there's a fix for this already?
-- 
Martin Michlmayr
http://www.cyrius.com/


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux