Hi Javier, [auto build test ERROR on v4.3-rc5 -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Javier-Martinez-Canillas/bcma-mips-Allow-build-if-COMPILE_TEST-is-enabled/20151013-214630 config: i386-allmodconfig (attached as .config) reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): drivers/mtd/devices/bcm47xxsflash.c: In function 'bcm47xxsflash_read': >> drivers/mtd/devices/bcm47xxsflash.c:112:37: error: implicit declaration of function 'KSEG0ADDR' [-Werror=implicit-function-declaration] memcpy_fromio(buf, (void __iomem *)KSEG0ADDR(b47s->window + from), ^ cc1: some warnings being treated as errors vim +/KSEG0ADDR +112 drivers/mtd/devices/bcm47xxsflash.c c0fcbc56 Rafał Miłecki 2013-05-21 96 c0fcbc56 Rafał Miłecki 2013-05-21 97 if (erase->callback) c0fcbc56 Rafał Miłecki 2013-05-21 98 erase->callback(erase); c0fcbc56 Rafał Miłecki 2013-05-21 99 c0fcbc56 Rafał Miłecki 2013-05-21 100 return err; c0fcbc56 Rafał Miłecki 2013-05-21 101 } c0fcbc56 Rafał Miłecki 2013-05-21 102 5fe42d5b Rafał Miłecki 2012-09-17 103 static int bcm47xxsflash_read(struct mtd_info *mtd, loff_t from, size_t len, 5fe42d5b Rafał Miłecki 2012-09-17 104 size_t *retlen, u_char *buf) 5fe42d5b Rafał Miłecki 2012-09-17 105 { a2f74a7d Rafał Miłecki 2013-01-06 106 struct bcm47xxsflash *b47s = mtd->priv; 5fe42d5b Rafał Miłecki 2012-09-17 107 5fe42d5b Rafał Miłecki 2012-09-17 108 /* Check address range */ 5fe42d5b Rafał Miłecki 2012-09-17 109 if ((from + len) > mtd->size) 5fe42d5b Rafał Miłecki 2012-09-17 110 return -EINVAL; 5fe42d5b Rafał Miłecki 2012-09-17 111 a2f74a7d Rafał Miłecki 2013-01-06 @112 memcpy_fromio(buf, (void __iomem *)KSEG0ADDR(b47s->window + from), 5fe42d5b Rafał Miłecki 2012-09-17 113 len); 60aca067 Hauke Mehrtens 2013-01-24 114 *retlen = len; 5fe42d5b Rafał Miłecki 2012-09-17 115 5fe42d5b Rafał Miłecki 2012-09-17 116 return len; 5fe42d5b Rafał Miłecki 2012-09-17 117 } 5fe42d5b Rafał Miłecki 2012-09-17 118 13134f48 Rafał Miłecki 2013-05-22 119 static int bcm47xxsflash_write_st(struct mtd_info *mtd, u32 offset, size_t len, 13134f48 Rafał Miłecki 2013-05-22 120 const u_char *buf) :::::: The code at line 112 was first introduced by commit :::::: a2f74a7dacc1c17a0b146eb3112217874c5db436 mtd: bcm47xxsflash: add own struct for abstrating bus type :::::: TO: Rafał Miłecki <zajec5@xxxxxxxxx> :::::: CC: Artem Bityutskiy <artem.bityutskiy@xxxxxxxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data