[PATCH] mtd: spi-nor: Add support for s25fl116k

kbuild test robot lkp at intel.com
Thu Feb 11 03:00:23 PST 2016


Hi Sascha,

[auto build test ERROR on v4.5-rc3]
[also build test ERROR on next-20160211]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Sascha-Hauer/mtd-spi-nor-Add-support-for-s25fl116k/20160211-184301
config: x86_64-randconfig-x002-201606 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All error/warnings (new ones prefixed by >>):

>> drivers/mtd/spi-nor/spi-nor.c:800:67: error: expected expression before '|' token
     { "s25fl116k",  INFO(0x014015,      0,  64 * 1024,  32, SECT_4K) | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ)  },
                                                                      ^
>> drivers/mtd/spi-nor/spi-nor.c:800:67: warning: excess elements in struct initializer
   drivers/mtd/spi-nor/spi-nor.c:800:67: note: (near initialization for 'spi_nor_ids[77]')
>> drivers/mtd/spi-nor/spi-nor.c:800:106: error: expected '}' before ')' token
     { "s25fl116k",  INFO(0x014015,      0,  64 * 1024,  32, SECT_4K) | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ)  },
                                                                                                             ^
>> drivers/mtd/spi-nor/spi-nor.c:800:106: error: expected ',' or ';' before ')' token
>> drivers/mtd/spi-nor/spi-nor.c:800:110: error: expected identifier or '(' before ',' token
     { "s25fl116k",  INFO(0x014015,      0,  64 * 1024,  32, SECT_4K) | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ)  },
                                                                                                                 ^
   drivers/mtd/spi-nor/spi-nor.c:801:68: error: expected identifier or '(' before ',' token
     { "s25fl132k",  INFO(0x014016,      0,  64 * 1024,  64, SECT_4K) },
                                                                       ^
   drivers/mtd/spi-nor/spi-nor.c:802:68: error: expected identifier or '(' before ',' token
     { "s25fl164k",  INFO(0x014017,      0,  64 * 1024, 128, SECT_4K) },
                                                                       ^
   drivers/mtd/spi-nor/spi-nor.c:803:88: error: expected identifier or '(' before ',' token
     { "s25fl204k",  INFO(0x014013,      0,  64 * 1024,   8, SECT_4K | SPI_NOR_DUAL_READ) },
                                                                                           ^
   drivers/mtd/spi-nor/spi-nor.c:806:74: error: expected identifier or '(' before ',' token
     { "sst25vf040b", INFO(0xbf258d, 0, 64 * 1024,  8, SECT_4K | SST_WRITE) },
                                                                             ^
   drivers/mtd/spi-nor/spi-nor.c:807:74: error: expected identifier or '(' before ',' token
     { "sst25vf080b", INFO(0xbf258e, 0, 64 * 1024, 16, SECT_4K | SST_WRITE) },
                                                                             ^
   drivers/mtd/spi-nor/spi-nor.c:808:74: error: expected identifier or '(' before ',' token
     { "sst25vf016b", INFO(0xbf2541, 0, 64 * 1024, 32, SECT_4K | SST_WRITE) },
                                                                             ^
   drivers/mtd/spi-nor/spi-nor.c:809:74: error: expected identifier or '(' before ',' token
     { "sst25vf032b", INFO(0xbf254a, 0, 64 * 1024, 64, SECT_4K | SST_WRITE) },
                                                                             ^
   drivers/mtd/spi-nor/spi-nor.c:810:63: error: expected identifier or '(' before ',' token
     { "sst25vf064c", INFO(0xbf254b, 0, 64 * 1024, 128, SECT_4K) },
                                                                  ^
   drivers/mtd/spi-nor/spi-nor.c:811:74: error: expected identifier or '(' before ',' token
     { "sst25wf512",  INFO(0xbf2501, 0, 64 * 1024,  1, SECT_4K | SST_WRITE) },
                                                                             ^
   drivers/mtd/spi-nor/spi-nor.c:812:74: error: expected identifier or '(' before ',' token
     { "sst25wf010",  INFO(0xbf2502, 0, 64 * 1024,  2, SECT_4K | SST_WRITE) },
                                                                             ^
   drivers/mtd/spi-nor/spi-nor.c:813:74: error: expected identifier or '(' before ',' token
     { "sst25wf020",  INFO(0xbf2503, 0, 64 * 1024,  4, SECT_4K | SST_WRITE) },
                                                                             ^
   drivers/mtd/spi-nor/spi-nor.c:814:62: error: expected identifier or '(' before ',' token
     { "sst25wf020a", INFO(0x621612, 0, 64 * 1024,  4, SECT_4K) },
                                                                 ^
   drivers/mtd/spi-nor/spi-nor.c:815:62: error: expected identifier or '(' before ',' token
     { "sst25wf040b", INFO(0x621613, 0, 64 * 1024,  8, SECT_4K) },
                                                                 ^
   drivers/mtd/spi-nor/spi-nor.c:816:74: error: expected identifier or '(' before ',' token
     { "sst25wf040",  INFO(0xbf2504, 0, 64 * 1024,  8, SECT_4K | SST_WRITE) },
                                                                             ^
   drivers/mtd/spi-nor/spi-nor.c:817:74: error: expected identifier or '(' before ',' token
     { "sst25wf080",  INFO(0xbf2505, 0, 64 * 1024, 16, SECT_4K | SST_WRITE) },
                                                                             ^
   drivers/mtd/spi-nor/spi-nor.c:820:55: error: expected identifier or '(' before ',' token
     { "m25p05",  INFO(0x202010,  0,  32 * 1024,   2, 0) },
                                                          ^
   drivers/mtd/spi-nor/spi-nor.c:821:55: error: expected identifier or '(' before ',' token
     { "m25p10",  INFO(0x202011,  0,  32 * 1024,   4, 0) },
                                                          ^
   drivers/mtd/spi-nor/spi-nor.c:822:55: error: expected identifier or '(' before ',' token
     { "m25p20",  INFO(0x202012,  0,  64 * 1024,   4, 0) },
                                                          ^
   drivers/mtd/spi-nor/spi-nor.c:823:55: error: expected identifier or '(' before ',' token
     { "m25p40",  INFO(0x202013,  0,  64 * 1024,   8, 0) },
                                                          ^
   drivers/mtd/spi-nor/spi-nor.c:824:55: error: expected identifier or '(' before ',' token
     { "m25p80",  INFO(0x202014,  0,  64 * 1024,  16, 0) },
                                                          ^
   drivers/mtd/spi-nor/spi-nor.c:825:55: error: expected identifier or '(' before ',' token
     { "m25p16",  INFO(0x202015,  0,  64 * 1024,  32, 0) },
                                                          ^
   drivers/mtd/spi-nor/spi-nor.c:826:55: error: expected identifier or '(' before ',' token
     { "m25p32",  INFO(0x202016,  0,  64 * 1024,  64, 0) },
                                                          ^
   drivers/mtd/spi-nor/spi-nor.c:827:55: error: expected identifier or '(' before ',' token
     { "m25p64",  INFO(0x202017,  0,  64 * 1024, 128, 0) },
                                                          ^
   drivers/mtd/spi-nor/spi-nor.c:828:55: error: expected identifier or '(' before ',' token
     { "m25p128", INFO(0x202018,  0, 256 * 1024,  64, 0) },
                                                          ^
   drivers/mtd/spi-nor/spi-nor.c:830:56: error: expected identifier or '(' before ',' token
     { "m25p05-nonjedec",  INFO(0, 0,  32 * 1024,   2, 0) },
                                                           ^
   drivers/mtd/spi-nor/spi-nor.c:831:56: error: expected identifier or '(' before ',' token
     { "m25p10-nonjedec",  INFO(0, 0,  32 * 1024,   4, 0) },
                                                           ^
   drivers/mtd/spi-nor/spi-nor.c:832:56: error: expected identifier or '(' before ',' token
     { "m25p20-nonjedec",  INFO(0, 0,  64 * 1024,   4, 0) },
                                                           ^
   drivers/mtd/spi-nor/spi-nor.c:833:56: error: expected identifier or '(' before ',' token
     { "m25p40-nonjedec",  INFO(0, 0,  64 * 1024,   8, 0) },
                                                           ^
   drivers/mtd/spi-nor/spi-nor.c:834:56: error: expected identifier or '(' before ',' token
     { "m25p80-nonjedec",  INFO(0, 0,  64 * 1024,  16, 0) },
                                                           ^
   drivers/mtd/spi-nor/spi-nor.c:835:56: error: expected identifier or '(' before ',' token
     { "m25p16-nonjedec",  INFO(0, 0,  64 * 1024,  32, 0) },
                                                           ^
   drivers/mtd/spi-nor/spi-nor.c:836:56: error: expected identifier or '(' before ',' token
     { "m25p32-nonjedec",  INFO(0, 0,  64 * 1024,  64, 0) },
                                                           ^
   drivers/mtd/spi-nor/spi-nor.c:837:56: error: expected identifier or '(' before ',' token
     { "m25p64-nonjedec",  INFO(0, 0,  64 * 1024, 128, 0) },
                                                           ^
   drivers/mtd/spi-nor/spi-nor.c:838:56: error: expected identifier or '(' before ',' token
     { "m25p128-nonjedec", INFO(0, 0, 256 * 1024,  64, 0) },

vim +800 drivers/mtd/spi-nor/spi-nor.c

   794		{ "s25sl032a",  INFO(0x010215,      0,  64 * 1024,  64, 0) },
   795		{ "s25sl064a",  INFO(0x010216,      0,  64 * 1024, 128, 0) },
   796		{ "s25fl004k",  INFO(0xef4013,      0,  64 * 1024,   8, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
   797		{ "s25fl008k",  INFO(0xef4014,      0,  64 * 1024,  16, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
   798		{ "s25fl016k",  INFO(0xef4015,      0,  64 * 1024,  32, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
   799		{ "s25fl064k",  INFO(0xef4017,      0,  64 * 1024, 128, SECT_4K) },
 > 800		{ "s25fl116k",  INFO(0x014015,      0,  64 * 1024,  32, SECT_4K) | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ)  },
   801		{ "s25fl132k",  INFO(0x014016,      0,  64 * 1024,  64, SECT_4K) },
   802		{ "s25fl164k",  INFO(0x014017,      0,  64 * 1024, 128, SECT_4K) },
   803		{ "s25fl204k",  INFO(0x014013,      0,  64 * 1024,   8, SECT_4K | SPI_NOR_DUAL_READ) },

---
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/octet-stream
Size: 26072 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20160211/a607fa92/attachment-0001.obj>


More information about the linux-mtd mailing list