[PATCH v5 04/11] USB: Pass PMSG_POWEROFF event to suspend_common() for poweroff with S4 flow

kernel test robot lkp at intel.com
Tue Aug 12 16:23:28 UTC 2025


Hi Mario,

kernel test robot noticed the following build errors:

[auto build test ERROR on 8f5ae30d69d7543eee0d70083daf4de8fe15d585]

url:    https://github.com/intel-lab-lkp/linux/commits/Mario-Limonciello-AMD/PM-Introduce-new-PMSG_POWEROFF-event/20250812-034228
base:   8f5ae30d69d7543eee0d70083daf4de8fe15d585
patch link:    https://lore.kernel.org/r/20250811194102.864225-5-superm1%40kernel.org
patch subject: [PATCH v5 04/11] USB: Pass PMSG_POWEROFF event to suspend_common() for poweroff with S4 flow
config: i386-randconfig-013-20250812 (https://download.01.org/0day-ci/archive/20250813/202508130049.aA2DXgHW-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14+deb12u1) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250813/202508130049.aA2DXgHW-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202508130049.aA2DXgHW-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/usb/core/hcd-pci.c:650:27: error: 'hcd_pci_poweroff' undeclared here (not in a function); did you mean 'hcd_pci_poweroff_late'?
     650 |         .poweroff       = hcd_pci_poweroff,
         |                           ^~~~~~~~~~~~~~~~
         |                           hcd_pci_poweroff_late


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

   640	
   641	const struct dev_pm_ops usb_hcd_pci_pm_ops = {
   642		.suspend	= hcd_pci_suspend,
   643		.suspend_noirq	= hcd_pci_suspend_noirq,
   644		.resume_noirq	= hcd_pci_resume_noirq,
   645		.resume		= hcd_pci_resume,
   646		.freeze		= hcd_pci_freeze,
   647		.freeze_noirq	= check_root_hub_suspended,
   648		.thaw_noirq	= NULL,
   649		.thaw		= hcd_pci_resume,
 > 650		.poweroff	= hcd_pci_poweroff,
   651		.poweroff_late	= hcd_pci_poweroff_late,
   652		.poweroff_noirq	= hcd_pci_suspend_noirq,
   653		.restore_noirq	= hcd_pci_resume_noirq,
   654		.restore	= hcd_pci_restore,
   655		.runtime_suspend = hcd_pci_runtime_suspend,
   656		.runtime_resume	= hcd_pci_runtime_resume,
   657	};
   658	EXPORT_SYMBOL_GPL(usb_hcd_pci_pm_ops);
   659	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki


More information about the dri-devel mailing list