tree:
https://github.com/nbd168/wireless mt76
head: 089a831fb7a99526b602bc34764dc213f335d07d
commit: 97c4bed80d5a6889eb1335b3dfb31e0afb8e3196 [55/80] mt76: mt7921: introduce mac tx
done handling
config: powerpc-randconfig-r032-20210618 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
64720f57bea6a6bf033feef4a5751ab9c0c3b401)
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
# install powerpc cross compiling tool for clang build
# apt-get install binutils-powerpc-linux-gnu
#
https://github.com/nbd168/wireless/commit/97c4bed80d5a6889eb1335b3dfb31e0...
git remote add nbd168-wireless
https://github.com/nbd168/wireless
git fetch --no-tags nbd168-wireless mt76
git checkout 97c4bed80d5a6889eb1335b3dfb31e0afb8e3196
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
In file included from drivers/net/wireless/mediatek/mt76/mt7921/mac.c:4:
In file included from include/linux/devcoredump.h:8:
In file included from include/linux/device.h:15:
In file included from include/linux/dev_printk.h:16:
In file included from include/linux/ratelimit.h:6:
In file included from include/linux/sched.h:12:
In file included from arch/powerpc/include/asm/current.h:13:
In file included from arch/powerpc/include/asm/paca.h:17:
In file included from arch/powerpc/include/asm/lppaca.h:46:
In file included from arch/powerpc/include/asm/mmu.h:147:
In file included from include/linux/bug.h:5:
In file included from arch/powerpc/include/asm/bug.h:109:
In file included from include/asm-generic/bug.h:20:
In file included from include/linux/kernel.h:12:
In file included from include/linux/bitops.h:32:
In file included from arch/powerpc/include/asm/bitops.h:62:
arch/powerpc/include/asm/barrier.h:49:9: warning: '__lwsync' macro redefined
[-Wmacro-redefined]
#define __lwsync() __asm__ __volatile__ (stringify_in_c(LWSYNC) : :
:"memory")
^
<built-in>:309:9: note: previous definition is here
#define __lwsync __builtin_ppc_lwsync
^
> drivers/net/wireless/mediatek/mt76/mt7921/mac.c:27:1: warning: no
previous prototype for function 'mt7921_next_txs_set' [-Wmissing-prototypes]
mt7921_next_txs_set(struct mt7921_dev *dev, struct mt76_wcid *wcid,
^
drivers/net/wireless/mediatek/mt76/mt7921/mac.c:26:1: note: declare 'static' if
the function is not intended to be used outside of this translation unit
unsigned long
^
static
> drivers/net/wireless/mediatek/mt76/mt7921/mac.c:38:1: warning: no
previous prototype for function 'mt7921_next_txs_timeout' [-Wmissing-prototypes]
mt7921_next_txs_timeout(struct mt7921_dev *dev, struct mt76_wcid *wcid)
^
drivers/net/wireless/mediatek/mt76/mt7921/mac.c:37:1: note: declare 'static' if
the function is not intended to be used outside of this translation unit
bool
^
static
3 warnings generated.
vim +/mt7921_next_txs_set +27 drivers/net/wireless/mediatek/mt76/mt7921/mac.c
25
26 unsigned long
27 mt7921_next_txs_set(struct mt7921_dev *dev, struct mt76_wcid
*wcid,
28 u32 timeout)
29 {
30 struct mt7921_sta *msta;
31
32 msta = container_of(wcid, struct mt7921_sta, wcid);
33 msta->next_txs_ts = jiffies + msecs_to_jiffies(timeout);
34 return msta->next_txs_ts;
35 }
36
37 bool
38 mt7921_next_txs_timeout(struct mt7921_dev *dev, struct mt76_wcid
*wcid)
39 {
40 struct mt7921_sta *msta;
41
42 msta = container_of(wcid, struct mt7921_sta, wcid);
43 return time_is_before_jiffies(msta->next_txs_ts);
44 }
45
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org