[mtd-next:spi-nor/next 13/13] drivers/mtd//spi-nor/aspeed-smc.c:554:14: error: 'SZ_128M' undeclared
kbuild test robot
fengguang.wu at intel.com
Tue Jun 20 16:44:54 PDT 2017
tree: git://git.infradead.org/linux-mtd-next.git spi-nor/next
head: bb3a588d2151b6ad3f719a1a4cc74d2eed6e26e7
commit: bb3a588d2151b6ad3f719a1a4cc74d2eed6e26e7 [13/13] mtd: spi-nor: aspeed: configure chip window on AHB bus
config: xtensa-allmodconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 4.9.0
reproduce:
wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout bb3a588d2151b6ad3f719a1a4cc74d2eed6e26e7
# save the attached .config to linux build tree
make.cross ARCH=xtensa
All errors (new ones prefixed by >>):
drivers/mtd//spi-nor/aspeed-smc.c: In function 'aspeed_smc_chip_set_segment':
>> drivers/mtd//spi-nor/aspeed-smc.c:554:14: error: 'SZ_128M' undeclared (first use in this function)
size == SZ_128M) {
^
drivers/mtd//spi-nor/aspeed-smc.c:554:14: note: each undeclared identifier is reported only once for each function it appears in
vim +/SZ_128M +554 drivers/mtd//spi-nor/aspeed-smc.c
548 * The AST2500 SPI controller has a HW bug when the CE0 chip
549 * size reaches 128MB. Enforce a size limit of 120MB to
550 * prevent the controller from using bogus settings in the
551 * segment register.
552 */
553 if (chip->cs == 0 && controller->info == &spi_2500_info &&
> 554 size == SZ_128M) {
555 size = 120 << 20;
556 dev_info(chip->nor.dev,
557 "CE%d window resized to %dMB (AST2500 HW quirk)",
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 50149 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20170621/41f47f1d/attachment-0001.gz>
More information about the linux-mtd
mailing list