linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [rcu:dev.2019.12.08a 37/105] drivers/net//wireless/mediatek/mt76/agg-rx.c:284:2: error: implicit declaration of function 'rcu_swap_protected'; did you mean 'mem_cgroup_protected'?
@ 2019-12-10  2:05 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-12-10  2:05 UTC (permalink / raw)
  To: Paul E. McKenney; +Cc: kbuild-all, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 2607 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2019.12.08a
head:   27628657c4a5dc4ed361a933fd368059d1653ac2
commit: 60a637364607f8086690fe03d31ca2f255c6e79e [37/105] rcu: Remove rcu_swap_protected()
config: sparc64-allmodconfig (attached as .config)
compiler: sparc64-linux-gcc (GCC) 7.5.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 60a637364607f8086690fe03d31ca2f255c6e79e
        # save the attached .config to linux build tree
        GCC_VERSION=7.5.0 make.cross ARCH=sparc64 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   drivers/net//wireless/mediatek/mt76/agg-rx.c: In function 'mt76_rx_aggr_stop':
>> drivers/net//wireless/mediatek/mt76/agg-rx.c:284:2: error: implicit declaration of function 'rcu_swap_protected'; did you mean 'mem_cgroup_protected'? [-Werror=implicit-function-declaration]
     rcu_swap_protected(wcid->aggr[tidno], tid,
     ^~~~~~~~~~~~~~~~~~
     mem_cgroup_protected
   cc1: some warnings being treated as errors
--
   net//tipc/crypto.c: In function 'tipc_crypto_key_try_align':
>> net//tipc/crypto.c:261:2: error: implicit declaration of function 'rcu_swap_protected'; did you mean 'rcu_sync_enter'? [-Werror=implicit-function-declaration]
     rcu_swap_protected((rcu_ptr), (ptr), lockdep_is_held(lock))
     ^
   net//tipc/crypto.c:1192:3: note: in expansion of macro 'tipc_aead_rcu_swap'
      tipc_aead_rcu_swap(rx->aead[key.passive], tmp2, &rx->lock);
      ^~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +284 drivers/net//wireless/mediatek/mt76/agg-rx.c

aee5b8cf2477bb Felix Fietkau 2018-01-24  279  
aee5b8cf2477bb Felix Fietkau 2018-01-24  280  void mt76_rx_aggr_stop(struct mt76_dev *dev, struct mt76_wcid *wcid, u8 tidno)
aee5b8cf2477bb Felix Fietkau 2018-01-24  281  {
fb7d95c6ee4f71 Felix Fietkau 2019-10-07  282  	struct mt76_rx_tid *tid = NULL;
aee5b8cf2477bb Felix Fietkau 2018-01-24  283  
fb7d95c6ee4f71 Felix Fietkau 2019-10-07 @284  	rcu_swap_protected(wcid->aggr[tidno], tid,

:::::: The code at line 284 was first introduced by commit
:::::: fb7d95c6ee4f71ba131c9b3c65d658369ffd1128 mt76: drop rcu read lock in mt76_rx_aggr_stop

:::::: TO: Felix Fietkau <nbd@nbd.name>
:::::: CC: Felix Fietkau <nbd@nbd.name>

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 60001 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-12-10  2:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-10  2:05 [rcu:dev.2019.12.08a 37/105] drivers/net//wireless/mediatek/mt76/agg-rx.c:284:2: error: implicit declaration of function 'rcu_swap_protected'; did you mean 'mem_cgroup_protected'? kbuild 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).