Hi,

[auto build test ERROR on wireless-drivers-next/master]
[cannot apply to v4.7-rc7 next-20160714]
[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/Kalle-Valo/pull-request-wireless-drivers-next-2016-07-13/20160714-023750
base:   
https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next.git 
master
config: sparc64-allmodconfig (attached as .config)
compiler: sparc64-linux-gnu-gcc (Debian 5.3.1-8) 5.3.1 20160205
reproduce:
        wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=sparc64 

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

   drivers/net/wireless/marvell/mwifiex/scan.c: In function 
'mwifiex_cancel_scan':
>> drivers/net/wireless/marvell/mwifiex/scan.c:2024:12: error: variable 'info' 
>> has initializer but incomplete type
        struct cfg80211_scan_info info = {
               ^
>> drivers/net/wireless/marvell/mwifiex/scan.c:2025:6: error: unknown field 
>> 'aborted' specified in initializer
         .aborted = true,
         ^
>> drivers/net/wireless/marvell/mwifiex/scan.c:2025:17: warning: excess 
>> elements in struct initializer
         .aborted = true,
                    ^
   drivers/net/wireless/marvell/mwifiex/scan.c:2025:17: note: (near 
initialization for 'info')
>> drivers/net/wireless/marvell/mwifiex/scan.c:2024:31: error: storage size of 
>> 'info' isn't known
        struct cfg80211_scan_info info = {
                                  ^
>> drivers/net/wireless/marvell/mwifiex/scan.c:2024:31: warning: unused 
>> variable 'info' [-Wunused-variable]

vim +/info +2024 drivers/net/wireless/marvell/mwifiex/scan.c

  2018                  spin_unlock_irqrestore(&adapter->mwifiex_cmd_lock, 
cmd_flags);
  2019                  for (i = 0; i < adapter->priv_num; i++) {
  2020                          priv = adapter->priv[i];
  2021                          if (!priv)
  2022                                  continue;
  2023                          if (priv->scan_request) {
> 2024                                  struct cfg80211_scan_info info = {
> 2025                                          .aborted = true,
  2026                                  };
  2027  
  2028                                  mwifiex_dbg(adapter, INFO,

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: Binary data

Reply via email to