lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <201710091711.BaoLcxo3%fengguang.wu@intel.com>
Date:   Mon, 9 Oct 2017 17:22:07 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Bryan O'Donoghue <pure.logic@...us-software.ie>
Cc:     kbuild-all@...org, p.zabel@...gutronix.de,
        richard.leitner@...data.com, srinivas.kandagatla@...aro.org,
        axel.lin@...ics.com, ping.bai@....com, d.schultz@...tec.de,
        peng.fan@....com, van.freenix@...il.com,
        linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
        Bryan O'Donoghue <pure.logic@...us-software.ie>
Subject: Re: [PATCH v2 3/7] nvmem: imx-ocotp: Add support for banked OTP
 addressing

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

Download attachment ".config.gz" of type "application/gzip" (51614 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ