Search Linux Wireless

Re: [PATCH 3/4 v1] Continue breaking down to smaller functions

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

 



Hi,

[auto build test WARNING on mac80211/master]
[also build test WARNING on v4.7-rc7]
[cannot apply to mac80211-next/master next-20160712]
[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/Alex-Briskin/Refactoring-ieee80211_iface_work/20160714-042301
base:   https://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211.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 warnings (new ones prefixed by >>):

   net/mac80211/iface.c: In function 'ieee80211_iface_work':
>> net/mac80211/iface.c:1333:19: warning: unused variable 'sta' [-Wunused-variable]
     struct sta_info *sta;
                      ^

vim +/sta +1333 net/mac80211/iface.c

  1317							       WLAN_REASON_QSTA_REQUIRE_SETUP,
  1318							       true);
  1319			}
  1320			mutex_unlock(&local->sta_mtx);
  1321		} else {
  1322			return false;
  1323		}
  1324		return true;
  1325	}
  1326	
  1327	static void ieee80211_iface_work(struct work_struct *work)
  1328	{
  1329		struct ieee80211_sub_if_data *sdata =
  1330			container_of(work, struct ieee80211_sub_if_data, work);
  1331		struct ieee80211_local *local = sdata->local;
  1332		struct sk_buff *skb;
> 1333		struct sta_info *sta;
  1334	
  1335		if (!ieee80211_sdata_running(sdata))
  1336			return;
  1337	
  1338		if (test_bit(SCAN_SW_SCANNING, &local->scanning))
  1339			return;
  1340	
  1341		if (!ieee80211_can_run_worker(local))

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