[PATCH v2 3/7] nvmem: imx-ocotp: Add support for banked OTP addressing

kbuild test robot lkp at intel.com
Mon Oct 9 02:22:07 PDT 2017


Hi Bryan,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.14-rc4 next-20170929]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Bryan-O-Donoghue/Fix-i-MX7D-OCOTP-write-support/20171009-155445
config: xtensa-allyesconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 4.9.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=xtensa 

Note: the linux-review/Bryan-O-Donoghue/Fix-i-MX7D-OCOTP-write-support/20171009-155445 HEAD 5cdf7fb933d7043592aa21e657d9ffa0ef4eb764 builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

>> drivers/nvmem/imx-ocotp.c:367:34: error: array type has incomplete element type
    static const struct octop_params params[] = {
                                     ^
>> drivers/nvmem/imx-ocotp.c:368:2: error: field name not in record or union initializer
     { .nregs = 128, .bank_address_words = 0 },
     ^
   drivers/nvmem/imx-ocotp.c:368:2: error: (near initialization for 'params')
>> drivers/nvmem/imx-ocotp.c:368:2: error: field name not in record or union initializer
   drivers/nvmem/imx-ocotp.c:368:2: error: (near initialization for 'params')
   drivers/nvmem/imx-ocotp.c:369:2: error: field name not in record or union initializer
     { .nregs = 64,  .bank_address_words = 0 },
     ^
   drivers/nvmem/imx-ocotp.c:369:2: error: (near initialization for 'params')
   drivers/nvmem/imx-ocotp.c:369:2: error: field name not in record or union initializer
   drivers/nvmem/imx-ocotp.c:369:2: error: (near initialization for 'params')
   drivers/nvmem/imx-ocotp.c:370:2: error: field name not in record or union initializer
     { .nregs = 128, .bank_address_words = 0 },
     ^
   drivers/nvmem/imx-ocotp.c:370:2: error: (near initialization for 'params')
   drivers/nvmem/imx-ocotp.c:370:2: error: field name not in record or union initializer
   drivers/nvmem/imx-ocotp.c:370:2: error: (near initialization for 'params')
   drivers/nvmem/imx-ocotp.c:371:2: error: field name not in record or union initializer
     { .nregs = 128, .bank_address_words = 0 },
     ^
   drivers/nvmem/imx-ocotp.c:371:2: error: (near initialization for 'params')
   drivers/nvmem/imx-ocotp.c:371:2: error: field name not in record or union initializer
   drivers/nvmem/imx-ocotp.c:371:2: error: (near initialization for 'params')
   drivers/nvmem/imx-ocotp.c:372:2: error: field name not in record or union initializer
     { .nregs = 64,  .bank_address_words = 4 },
     ^
   drivers/nvmem/imx-ocotp.c:372:2: error: (near initialization for 'params')
   drivers/nvmem/imx-ocotp.c:372:2: error: field name not in record or union initializer
   drivers/nvmem/imx-ocotp.c:372:2: error: (near initialization for 'params')
   drivers/nvmem/imx-ocotp.c:367:34: warning: 'params' defined but not used [-Wunused-variable]
    static const struct octop_params params[] = {
                                     ^

vim +367 drivers/nvmem/imx-ocotp.c

   366	
 > 367	static const struct octop_params params[] = {
 > 368		{ .nregs = 128, .bank_address_words = 0 },
   369		{ .nregs = 64,  .bank_address_words = 0 },
   370		{ .nregs = 128, .bank_address_words = 0 },
   371		{ .nregs = 128, .bank_address_words = 0 },
   372		{ .nregs = 64,  .bank_address_words = 4 },
   373	};
   374	

---
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: 51614 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20171009/5776f43e/attachment-0001.gz>


More information about the linux-arm-kernel mailing list