Search Linux Wireless

Re: [PATCH 4/7] nl80211: Add info to scan results to support beacon report

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

[auto build test ERROR on mac80211-next/master]
[also build test ERROR on next-20160705]
[cannot apply to v4.7-rc6]
[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/Luca-Coelho/mac80211-cfg80211-a-bunch-of-patches-from-our-internal-tree/20160705-202748
base:   https://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git master
config: i386-randconfig-n0-201627 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

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

   drivers/net/wireless/ath/wil6210/main.c: In function 'wil_reset':
>> drivers/net/wireless/ath/wil6210/main.c:856:41: warning: passing argument 2 of 'cfg80211_scan_done' makes pointer from integer without a cast [-Wint-conversion]
      cfg80211_scan_done(wil->scan_request, true);
                                            ^~~~
   In file included from drivers/net/wireless/ath/wil6210/wil6210.h:22:0,
                    from drivers/net/wireless/ath/wil6210/main.c:21:
   include/net/cfg80211.h:4102:6: note: expected 'struct cfg80211_scan_info *' but argument is of type 'int'
    void cfg80211_scan_done(struct cfg80211_scan_request *request,
         ^~~~~~~~~~~~~~~~~~
   drivers/net/wireless/ath/wil6210/main.c: In function '__wil_down':
   drivers/net/wireless/ath/wil6210/main.c:1055:41: warning: passing argument 2 of 'cfg80211_scan_done' makes pointer from integer without a cast [-Wint-conversion]
      cfg80211_scan_done(wil->scan_request, true);
                                            ^~~~
   In file included from drivers/net/wireless/ath/wil6210/wil6210.h:22:0,
                    from drivers/net/wireless/ath/wil6210/main.c:21:
   include/net/cfg80211.h:4102:6: note: expected 'struct cfg80211_scan_info *' but argument is of type 'int'
    void cfg80211_scan_done(struct cfg80211_scan_request *request,
         ^~~~~~~~~~~~~~~~~~
--
   drivers/net/wireless/ath/wil6210/cfg80211.c: In function 'wil_cfg80211_stop_p2p_device':
>> drivers/net/wireless/ath/wil6210/cfg80211.c:1372:41: warning: passing argument 2 of 'cfg80211_scan_done' makes pointer from integer without a cast [-Wint-conversion]
      cfg80211_scan_done(wil->scan_request, 1);
                                            ^
   In file included from drivers/net/wireless/ath/wil6210/wil6210.h:22:0,
                    from drivers/net/wireless/ath/wil6210/cfg80211.c:18:
   include/net/cfg80211.h:4102:6: note: expected 'struct cfg80211_scan_info *' but argument is of type 'int'
    void cfg80211_scan_done(struct cfg80211_scan_request *request,
         ^~~~~~~~~~~~~~~~~~
--
   drivers/net/wireless/ath/wil6210/wmi.c: In function 'wmi_evt_scan_complete':
>> drivers/net/wireless/ath/wil6210/wmi.c:437:41: error: incompatible type for argument 2 of 'cfg80211_scan_done'
      cfg80211_scan_done(wil->scan_request, aborted);
                                            ^~~~~~~
   In file included from drivers/net/wireless/ath/wil6210/wil6210.h:22:0,
                    from drivers/net/wireless/ath/wil6210/wmi.c:21:
   include/net/cfg80211.h:4102:6: note: expected 'struct cfg80211_scan_info *' but argument is of type 'bool {aka _Bool}'
    void cfg80211_scan_done(struct cfg80211_scan_request *request,
         ^~~~~~~~~~~~~~~~~~
--
   drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c: In function 'brcmf_notify_escan_complete':
>> drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:780:36: error: incompatible type for argument 2 of 'cfg80211_scan_done'
      cfg80211_scan_done(scan_request, aborted);
                                       ^~~~~~~
   In file included from drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:23:0:
   include/net/cfg80211.h:4102:6: note: expected 'struct cfg80211_scan_info *' but argument is of type 'bool {aka _Bool}'
    void cfg80211_scan_done(struct cfg80211_scan_request *request,
         ^~~~~~~~~~~~~~~~~~

vim +/cfg80211_scan_done +437 drivers/net/wireless/ath/wil6210/wmi.c

7743882d6 Vladimir Kondratiev 2013-01-28  431  		wil_dbg_wmi(wil, "SCAN_COMPLETE(0x%08x)\n", data->status);
2a91d7d06 Vladimir Kondratiev 2014-06-16  432  		wil_dbg_misc(wil, "Complete scan_request 0x%p aborted %d\n",
2a91d7d06 Vladimir Kondratiev 2014-06-16  433  			     wil->scan_request, aborted);
2a91d7d06 Vladimir Kondratiev 2014-06-16  434  
047e5d74b Vladimir Kondratiev 2014-05-27  435  		del_timer_sync(&wil->scan_timer);
4332cac17 Lior David          2016-03-01  436  		mutex_lock(&wil->p2p_wdev_mutex);
2be7d22f0 Vladimir Kondratiev 2012-12-20 @437  		cfg80211_scan_done(wil->scan_request, aborted);
4332cac17 Lior David          2016-03-01  438  		wil->radio_wdev = wil->wdev;
4332cac17 Lior David          2016-03-01  439  		mutex_unlock(&wil->p2p_wdev_mutex);
2be7d22f0 Vladimir Kondratiev 2012-12-20  440  		wil->scan_request = NULL;

:::::: The code at line 437 was first introduced by commit
:::::: 2be7d22f062535de59babdb4b5e9de9ff31e817e wireless: add new wil6210 802.11ad 60GHz driver

:::::: TO: Vladimir Kondratiev <qca_vkondrat@xxxxxxxxxxxxxxxx>
:::::: CC: John W. Linville <linville@xxxxxxxxxxxxx>

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

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux