> -----Original Message----- > From: kernel test robot [mailto:lkp@xxxxxxxxx] > Sent: Wednesday, July 28, 2021 8:53 AM > To: Pkshih; tony0620emma@xxxxxxxxx; kvalo@xxxxxxxxxxxxxx > Cc: kbuild-all@xxxxxxxxxxxx; linux-wireless@xxxxxxxxxxxxxxx; Timlee > Subject: Re: [PATCH 3/4] rtw88: wow: report wow reason through mac80211 api > > Hi Ping-Ke, > > Thank you for the patch! Yet something to improve: > > [auto build test ERROR on wireless-drivers-next/master] > [also build test ERROR on v5.14-rc3 next-20210727] > [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/Ping-Ke-Shih/rtw88-fix-WoWLAN-function-and-report-reason- > to-mac80211/20210727-180221 > base: https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next.git master > config: parisc-allyesconfig (attached as .config) > compiler: hppa-linux-gcc (GCC) 10.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://github.com/0day-ci/linux/commit/97da528a8da3f33ccd9f58ed43d008b51c6d19d9 > git remote add linux-review https://github.com/0day-ci/linux > git fetch --no-tags linux-review > Ping-Ke-Shih/rtw88-fix-WoWLAN-function-and-report-reason-to-mac80211/20210727-180221 > git checkout 97da528a8da3f33ccd9f58ed43d008b51c6d19d9 > # save the attached .config to linux build tree > mkdir build_dir > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=parisc > SHELL=/bin/bash > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot <lkp@xxxxxxxxx> > > All errors (new ones prefixed by >>): > > hppa-linux-ld: drivers/net/wireless/realtek/rtw88/wow.o: in function > `rtw_wow_show_wakeup_reason': > >> (.text+0x6c4): undefined reference to `ieee80211_report_wowlan_wakeup' > >> hppa-linux-ld: (.text+0x6e0): undefined reference to `ieee80211_report_wowlan_wakeup' > Without CONFIG_PM, we don't need to build drivers/net/wireless/realtek/rtw88/wow.c. Fix this by [1]. [1] https://lore.kernel.org/linux-wireless/20210728014335.8785-1-pkshih@xxxxxxxxxxx/T/#t Ping-Ke