tree: https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next.git pending head: 01a229ffe23e35005691a665c797de5c2bd37a57 commit: 01a229ffe23e35005691a665c797de5c2bd37a57 [1/1] wireless: Initial driver submission for pureLiFi STA devices config: m68k-allmodconfig (attached as .config) compiler: m68k-linux-gcc (GCC) 11.2.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://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next.git/commit/?id=01a229ffe23e35005691a665c797de5c2bd37a57 git remote add kvalo-wireless-drivers-next https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next.git git fetch --no-tags kvalo-wireless-drivers-next pending git checkout 01a229ffe23e35005691a665c797de5c2bd37a57 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=m68k If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): >> drivers/net/wireless/purelifi/plfxlc/usb.c:912:29: error: 'get_purelifi_usb' defined but not used [-Werror=unused-function] 912 | static struct purelifi_usb *get_purelifi_usb(struct usb_interface *intf) | ^~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors vim +/get_purelifi_usb +912 drivers/net/wireless/purelifi/plfxlc/usb.c 911 > 912 static struct purelifi_usb *get_purelifi_usb(struct usb_interface *intf) 913 { 914 struct ieee80211_hw *hw = purelifi_intf_to_hw(intf); 915 struct purelifi_mac *mac; 916 917 /* Either something really bad happened, or 918 * we're just dealing with 919 * a DEVICE_INSTALLER. 920 */ 921 if (!hw) 922 return NULL; 923 924 mac = purelifi_hw_mac(hw); 925 return &mac->chip.usb; 926 } 927 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip