[mnyman-xhci:fix_port_disable_s4 1/1] drivers/usb/core/hcd-pci.c:637:27: error: 'hcd_pci_poweroff_late' undeclared here (not in a function)
From: kernel test robot
Date: Wed Aug 10 2022 - 23:52:39 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mnyman/xhci.git fix_port_disable_s4
head: a41d3a635cb80d88f6d5fa958ebce3d81abd5c73
commit: a41d3a635cb80d88f6d5fa958ebce3d81abd5c73 [1/1] xhci: pci: disable all xhci ports in hibernate poweroff_late stage,
config: arc-allyesconfig (https://download.01.org/0day-ci/archive/20220811/202208111117.4rp9JQa6-lkp@xxxxxxxxx/config)
compiler: arceb-elf-gcc (GCC) 12.1.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/mnyman/xhci.git/commit/?id=a41d3a635cb80d88f6d5fa958ebce3d81abd5c73
git remote add mnyman-xhci https://git.kernel.org/pub/scm/linux/kernel/git/mnyman/xhci.git
git fetch --no-tags mnyman-xhci fix_port_disable_s4
git checkout a41d3a635cb80d88f6d5fa958ebce3d81abd5c73
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arc SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All errors (new ones prefixed by >>):
>> drivers/usb/core/hcd-pci.c:637:27: error: 'hcd_pci_poweroff_late' undeclared here (not in a function)
637 | .poweroff_late = hcd_pci_poweroff_late,
| ^~~~~~~~~~~~~~~~~~~~~
vim +/hcd_pci_poweroff_late +637 drivers/usb/core/hcd-pci.c
626
627 const struct dev_pm_ops usb_hcd_pci_pm_ops = {
628 .suspend = hcd_pci_suspend,
629 .suspend_noirq = hcd_pci_suspend_noirq,
630 .resume_noirq = hcd_pci_resume_noirq,
631 .resume = hcd_pci_resume,
632 .freeze = hcd_pci_suspend,
633 .freeze_noirq = check_root_hub_suspended,
634 .thaw_noirq = NULL,
635 .thaw = hcd_pci_resume,
636 .poweroff = hcd_pci_suspend,
> 637 .poweroff_late = hcd_pci_poweroff_late,
638 .poweroff_noirq = hcd_pci_suspend_noirq,
639 .restore_noirq = hcd_pci_resume_noirq,
640 .restore = hcd_pci_restore,
641 .runtime_suspend = hcd_pci_runtime_suspend,
642 .runtime_resume = hcd_pci_runtime_resume,
643 };
644 EXPORT_SYMBOL_GPL(usb_hcd_pci_pm_ops);
645
--
0-DAY CI Kernel Test Service
https://01.org/lkp