Search Linux Wireless

[wireless-drivers-next:pending 1/2] drivers/net/wireless/purelifi/plfxlc/usb.c:962:20: error: 'suspend' undeclared here (not in a function)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next.git pending
head:   6a50a3c949db01857a1165ba677d092a9f24fd1f
commit: b8a12d2aca7ce360b32b616844bc1561fce37333 [1/2] wireless: Initial driver submission for pureLiFi STA devices
config: parisc-allyesconfig (attached as .config)
compiler: hppa-linux-gcc (GCC) 9.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://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next.git/commit/?id=b8a12d2aca7ce360b32b616844bc1561fce37333
        git remote add wireless-drivers-next https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next.git
        git fetch --no-tags wireless-drivers-next pending
        git checkout b8a12d2aca7ce360b32b616844bc1561fce37333
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=parisc 

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:962:20: error: 'suspend' undeclared here (not in a function)
     962 |  .suspend        = suspend,
         |                    ^~~~~~~
>> drivers/net/wireless/purelifi/plfxlc/usb.c:963:20: error: 'resume' undeclared here (not in a function); did you mean 'resource'?
     963 |  .resume         = resume,
         |                    ^~~~~~
         |                    resource
   drivers/net/wireless/purelifi/plfxlc/usb.c:909:29: warning: 'get_purelifi_usb' defined but not used [-Wunused-function]
     909 | static struct purelifi_usb *get_purelifi_usb(struct usb_interface *intf)
         |                             ^~~~~~~~~~~~~~~~


vim +/suspend +962 drivers/net/wireless/purelifi/plfxlc/usb.c

   954	
   955	static struct usb_driver driver = {
   956		.name        = KBUILD_MODNAME,
   957		.id_table    = usb_ids,
   958		.probe        = probe,
   959		.disconnect    = disconnect,
   960		.pre_reset    = pre_reset,
   961		.post_reset    = post_reset,
 > 962		.suspend        = suspend,
 > 963		.resume         = resume,
   964		.disable_hub_initiated_lpm = 1,
   965	};
   966	

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux