Hi Felix,
[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on wireless-drivers-next/master]
[also build test ERROR on wireless-drivers/master mac80211-next/master mac80211/master
linus/master v5.14-rc1 next-20210713]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url:
https://github.com/0day-ci/linux/commits/Felix-Fietkau/Ethernet-WLAN-hard...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-ne...
master
config: powerpc-randconfig-r003-20210713 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
8d69635ed9ecf36fd0ca85906bfde17949671cbe)
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/0day-ci/linux/commit/c531997b320959473fb8b8e72d837aff5...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Felix-Fietkau/Ethernet-WLAN-hardware-flow-offloading-support-on-MT7622/20210714-001409
git checkout c531997b320959473fb8b8e72d837aff58970493
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir
ARCH=powerpc SHELL=/bin/bash drivers/net/wireless/mediatek/mt76/ net/mac80211/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from net/mac80211/iface.c:13:
In file included from include/linux/slab.h:15:
In file included from include/linux/gfp.h:5:
In file included from include/linux/mmdebug.h:5:
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
^
> net/mac80211/iface.c:718:27: error: use of undeclared identifier
'ieee80211_netdev_fill_forward_path'
.ndo_fill_forward_path =
ieee80211_netdev_fill_forward_path,
^
1 warning and 1 error generated.
vim +/ieee80211_netdev_fill_forward_path +718 net/mac80211/iface.c
708
709 static const struct net_device_ops ieee80211_dataif_ops = {
710 .ndo_open = ieee80211_open,
711 .ndo_stop = ieee80211_stop,
712 .ndo_uninit = ieee80211_uninit,
713 .ndo_start_xmit = ieee80211_subif_start_xmit,
714 .ndo_set_rx_mode = ieee80211_set_multicast_list,
715 .ndo_set_mac_address = ieee80211_change_mac,
716 .ndo_select_queue = ieee80211_netdev_select_queue,
717 .ndo_get_stats64 = ieee80211_get_stats64,
718 .ndo_fill_forward_path = ieee80211_netdev_fill_forward_path,
719 };
720
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org