[bigeasy-staging:nettree 20/30] drivers/net/wireless/broadcom/brcm80211/brcmfmac/proto.h:114:40: error: too many arguments to function call, expected 2, have 3

From: kernel test robot
Date: Sat Feb 05 2022 - 08:38:44 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/bigeasy/staging.git nettree
head: 5be59eb9de8284e8ddfb8d34f5d61396a480d37c
commit: 61fe48994376312cf8a4bceaf0ac624f20148330 [20/30] wireless: brcmfmac:: Use netif_rx().
config: hexagon-randconfig-r041-20220204 (https://download.01.org/0day-ci/archive/20220205/202202052116.njaUzsdI-lkp@xxxxxxxxx/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project dee058c670593b999fec19c458dbbd882ad9de56)
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/bigeasy/staging.git/commit/?id=61fe48994376312cf8a4bceaf0ac624f20148330
git remote add bigeasy-staging https://git.kernel.org/pub/scm/linux/kernel/git/bigeasy/staging.git
git fetch --no-tags bigeasy-staging nettree
git checkout 61fe48994376312cf8a4bceaf0ac624f20148330
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/net/wireless/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

In file included from drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:30:
>> drivers/net/wireless/broadcom/brcm80211/brcmfmac/proto.h:114:40: error: too many arguments to function call, expected 2, have 3
ifp->drvr->proto->rxreorder(ifp, skb, inirq);
~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~
1 error generated.


vim +114 drivers/net/wireless/broadcom/brcm80211/brcmfmac/proto.h

85b8413371225e drivers/net/wireless/brcm80211/brcmfmac/proto.h Hante Meuleman 2013-11-29 110
bbd1f932e7c45e drivers/net/wireless/broadcom/brcm80211/brcmfmac/proto.h Arend van Spriel 2016-04-11 111 static inline void
687006e20c445c drivers/net/wireless/broadcom/brcm80211/brcmfmac/proto.h Thomas Gleixner 2020-09-29 112 brcmf_proto_rxreorder(struct brcmf_if *ifp, struct sk_buff *skb, bool inirq)
bbd1f932e7c45e drivers/net/wireless/broadcom/brcm80211/brcmfmac/proto.h Arend van Spriel 2016-04-11 113 {
687006e20c445c drivers/net/wireless/broadcom/brcm80211/brcmfmac/proto.h Thomas Gleixner 2020-09-29 @114 ifp->drvr->proto->rxreorder(ifp, skb, inirq);
bbd1f932e7c45e drivers/net/wireless/broadcom/brcm80211/brcmfmac/proto.h Arend van Spriel 2016-04-11 115 }
85b8413371225e drivers/net/wireless/brcm80211/brcmfmac/proto.h Hante Meuleman 2013-11-29 116

:::::: The code at line 114 was first introduced by commit
:::::: 687006e20c445c2461f5a03fe1361ede946f1996 net: brcmfmac: Convey execution context via argument to brcmf_netif_rx()

:::::: TO: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
:::::: CC: David S. Miller <davem@xxxxxxxxxxxxx>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx