* [linux-next:master 10358/12085] drivers/net/wireless/mediatek/mt76/tx.c:499:21: warning: variable 'q' set but not used
@ 2020-12-09 16:35 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-12-09 16:35 UTC (permalink / raw)
To: Felix Fietkau; +Cc: kbuild-all, Linux Memory Management List
[-- Attachment #1: Type: text/plain, Size: 2115 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 2f1d5c77f13fe64497c2e2601605f7d7ec4da9b1
commit: 90d494c99a99fa2eb858754345c4a9c851b409a0 [10358/12085] mt76: improve tx queue stop/wake
config: parisc-randconfig-r033-20201209 (attached as .config)
compiler: hppa-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=90d494c99a99fa2eb858754345c4a9c851b409a0
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 90d494c99a99fa2eb858754345c4a9c851b409a0
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=parisc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
drivers/net/wireless/mediatek/mt76/tx.c: In function 'mt76_txq_schedule':
>> drivers/net/wireless/mediatek/mt76/tx.c:499:21: warning: variable 'q' set but not used [-Wunused-but-set-variable]
499 | struct mt76_queue *q;
| ^
vim +/q +499 drivers/net/wireless/mediatek/mt76/tx.c
496
497 void mt76_txq_schedule(struct mt76_phy *phy, enum mt76_txq_id qid)
498 {
> 499 struct mt76_queue *q;
500 int len;
501
502 if (qid >= 4)
503 return;
504
505 q = phy->q_tx[qid];
506
507 rcu_read_lock();
508
509 do {
510 ieee80211_txq_schedule_start(phy->hw, qid);
511 len = mt76_txq_schedule_list(phy, qid);
512 ieee80211_txq_schedule_end(phy->hw, qid);
513 } while (len > 0);
514
515 rcu_read_unlock();
516 }
517 EXPORT_SYMBOL_GPL(mt76_txq_schedule);
518
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 28901 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-12-09 16:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-09 16:35 [linux-next:master 10358/12085] drivers/net/wireless/mediatek/mt76/tx.c:499:21: warning: variable 'q' set but not used kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).