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 WARNING on mac80211-next/master]
[also build test WARNING 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: x86_64-randconfig-i0-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=x86_64 

All warnings (new ones prefixed by >>):

   drivers/net/wireless/ath/ath6kl/cfg80211.c: In function 'ath6kl_cfg80211_disconnect_event':
>> drivers/net/wireless/ath/ath6kl/cfg80211.c:862:37: warning: passing argument 2 of 'cfg80211_scan_done' makes pointer from integer without a cast [-Wint-conversion]
      cfg80211_scan_done(vif->scan_req, true);
                                        ^~~~
   In file included from drivers/net/wireless/ath/ath6kl/core.h:26:0,
                    from drivers/net/wireless/ath/ath6kl/cfg80211.c:24:
   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/ath6kl/cfg80211.c: In function 'ath6kl_cfg80211_scan_complete_event':
   drivers/net/wireless/ath/ath6kl/cfg80211.c:1092:36: error: incompatible type for argument 2 of 'cfg80211_scan_done'
     cfg80211_scan_done(vif->scan_req, aborted);
                                       ^~~~~~~
   In file included from drivers/net/wireless/ath/ath6kl/core.h:26:0,
                    from drivers/net/wireless/ath/ath6kl/cfg80211.c:24:
   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/ath/ath6kl/cfg80211.c: In function 'ath6kl_cfg80211_vif_stop':
   drivers/net/wireless/ath/ath6kl/cfg80211.c:3617:37: warning: passing argument 2 of 'cfg80211_scan_done' makes pointer from integer without a cast [-Wint-conversion]
      cfg80211_scan_done(vif->scan_req, true);
                                        ^~~~
   In file included from drivers/net/wireless/ath/ath6kl/core.h:26:0,
                    from drivers/net/wireless/ath/ath6kl/cfg80211.c:24:
   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/marvell/mwifiex/main.c: In function 'mwifiex_close':
>> drivers/net/wireless/marvell/mwifiex/main.c:702:42: warning: passing argument 2 of 'cfg80211_scan_done' makes pointer from integer without a cast [-Wint-conversion]
      cfg80211_scan_done(priv->scan_request, 1);
                                             ^
   In file included from include/net/mac80211.h:23:0,
                    from drivers/net/wireless/marvell/mwifiex/decl.h:30,
                    from drivers/net/wireless/marvell/mwifiex/main.h:52,
                    from drivers/net/wireless/marvell/mwifiex/main.c:20:
   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/marvell/mwifiex/scan.c: In function 'mwifiex_check_next_scan_command':
>> drivers/net/wireless/marvell/mwifiex/scan.c:1982:44: warning: passing argument 2 of 'cfg80211_scan_done' makes pointer from integer without a cast [-Wint-conversion]
        cfg80211_scan_done(priv->scan_request, 1);
                                               ^
   In file included from include/net/mac80211.h:23:0,
                    from drivers/net/wireless/marvell/mwifiex/decl.h:30,
                    from drivers/net/wireless/marvell/mwifiex/scan.c:20:
   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,
         ^~~~~~~~~~~~~~~~~~

vim +/cfg80211_scan_done +862 drivers/net/wireless/ath/ath6kl/cfg80211.c

8c8b65e3e Vasanthakumar Thiagarajan 2011-10-25  846  		memset(vif->req_bssid, 0, sizeof(vif->req_bssid));
bdcd81707 Kalle Valo                2011-07-18  847  
bdcd81707 Kalle Valo                2011-07-18  848  	up(&ar->sem);
bdcd81707 Kalle Valo                2011-07-18  849  
14ee6f6b7 Vasanthakumar Thiagarajan 2011-10-25  850  	vif->sme_state = SME_DISCONNECTED;
170826dd0 Vasanthakumar Thiagarajan 2011-09-10  851  
bdcd81707 Kalle Valo                2011-07-18  852  	return 0;
bdcd81707 Kalle Valo                2011-07-18  853  }
bdcd81707 Kalle Valo                2011-07-18  854  
240d27994 Vasanthakumar Thiagarajan 2011-10-25  855  void ath6kl_cfg80211_disconnect_event(struct ath6kl_vif *vif, u8 reason,
bdcd81707 Kalle Valo                2011-07-18  856  				      u8 *bssid, u8 assoc_resp_len,
bdcd81707 Kalle Valo                2011-07-18  857  				      u8 *assoc_info, u16 proto_reason)
bdcd81707 Kalle Valo                2011-07-18  858  {
240d27994 Vasanthakumar Thiagarajan 2011-10-25  859  	struct ath6kl *ar = vif->ar;
59c98449b Vasanthakumar Thiagarajan 2011-10-25  860  
14ee6f6b7 Vasanthakumar Thiagarajan 2011-10-25  861  	if (vif->scan_req) {
14ee6f6b7 Vasanthakumar Thiagarajan 2011-10-25 @862  		cfg80211_scan_done(vif->scan_req, true);
14ee6f6b7 Vasanthakumar Thiagarajan 2011-10-25  863  		vif->scan_req = NULL;
bdcd81707 Kalle Valo                2011-07-18  864  	}
bdcd81707 Kalle Valo                2011-07-18  865  
f5938f249 Vasanthakumar Thiagarajan 2011-10-25  866  	if (vif->nw_type & ADHOC_NETWORK) {
fe94f3a4f Antonio Quartulli         2014-01-29  867  		if (vif->wdev.iftype != NL80211_IFTYPE_ADHOC)
bdcd81707 Kalle Valo                2011-07-18  868  			ath6kl_dbg(ATH6KL_DBG_WLAN_CFG,
bdcd81707 Kalle Valo                2011-07-18  869  				   "%s: ath6k not in ibss mode\n", __func__);
bdcd81707 Kalle Valo                2011-07-18  870  		return;

:::::: The code at line 862 was first introduced by commit
:::::: 14ee6f6b7db968229edb7524588e71182c843080 ath6kl: Move scan_req info and sme_state to vif

:::::: TO: Vasanthakumar Thiagarajan <vthiagar@xxxxxxxxxxxxxxxx>
:::::: CC: Kalle Valo <kvalo@xxxxxxxxxxxxxxxx>

---
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