Hi Longfang,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on usb/usb-testing]
[also build test ERROR on v5.12-rc6 next-20210409]
[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/Longfang-Liu/USB-ohci-fix-ohci-interruption-problem/20210409-155150
base:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git 
usb-testing
config: i386-randconfig-a012-20210411 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # 
https://github.com/0day-ci/linux/commit/fa57a31f84453b32378ba3d1410e7a549b5d397d
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review 
Longfang-Liu/USB-ohci-fix-ohci-interruption-problem/20210409-155150
        git checkout fa57a31f84453b32378ba3d1410e7a549b5d397d
        # save the attached .config to linux build tree
        make W=1 ARCH=i386 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <l...@intel.com>

All errors (new ones prefixed by >>):

>> drivers/usb/core/hcd-pci.c:624:13: error: 'hcd_pci_freeze' undeclared here 
>> (not in a function); did you mean 'hcd_pci_resume'?
     624 |  .freeze  = hcd_pci_freeze,
         |             ^~~~~~~~~~~~~~
         |             hcd_pci_resume


vim +624 drivers/usb/core/hcd-pci.c

   618  
   619  const struct dev_pm_ops usb_hcd_pci_pm_ops = {
   620          .suspend        = hcd_pci_suspend,
   621          .suspend_noirq  = hcd_pci_suspend_noirq,
   622          .resume_noirq   = hcd_pci_resume_noirq,
   623          .resume         = hcd_pci_resume,
 > 624          .freeze         = hcd_pci_freeze,
   625          .freeze_noirq   = check_root_hub_suspended,
   626          .thaw_noirq     = NULL,
   627          .thaw           = NULL,
   628          .poweroff       = hcd_pci_suspend,
   629          .poweroff_noirq = hcd_pci_suspend_noirq,
   630          .restore_noirq  = hcd_pci_resume_noirq,
   631          .restore        = hcd_pci_restore,
   632          .runtime_suspend = hcd_pci_runtime_suspend,
   633          .runtime_resume = hcd_pci_runtime_resume,
   634  };
   635  EXPORT_SYMBOL_GPL(usb_hcd_pci_pm_ops);
   636  

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

Attachment: .config.gz
Description: application/gzip

Reply via email to