[ath6kl:pending 31/36] drivers/net/wireless/ath/ath10k/hw.c:935:43: error: positional initialization of field in 'struct' declared with 'designated_init' attribute

kbuild test robot fengguang.wu at intel.com
Sat Dec 2 13:45:20 PST 2017


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git pending
head:   877432e6bcced3a835d2c2b23b68dc01bd5cbe47
commit: cced56c0430c4f5b5f87767c959e459ae0181ff8 [31/36] ath10k: WMI: add hw params entry for wcn3990
config: x86_64-randconfig-s0-12030417 (attached as .config)
compiler: gcc-6 (Debian 6.4.0-9) 6.4.0 20171026
reproduce:
        git checkout cced56c0430c4f5b5f87767c959e459ae0181ff8
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

>> drivers/net/wireless/ath/ath10k/hw.c:935:43: error: positional initialization of field in 'struct' declared with 'designated_init' attribute [-Werror=designated-init]
    const struct ath10k_hw_ops wcn3990_ops = {0};
                                              ^
   drivers/net/wireless/ath/ath10k/hw.c:935:43: note: (near initialization for 'wcn3990_ops')
>> drivers/net/wireless/ath/ath10k/hw.c:935:43: error: invalid initializer
   drivers/net/wireless/ath/ath10k/hw.c:935:43: note: (near initialization for 'wcn3990_ops.<anonymous>')
   cc1: some warnings being treated as errors

vim +935 drivers/net/wireless/ath/ath10k/hw.c

   934	
 > 935	const struct ath10k_hw_ops wcn3990_ops = {0};

---
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: 32088 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/ath10k/attachments/20171203/0f0c5f25/attachment-0001.gz>


More information about the ath10k mailing list