lkml.org 
[lkml]   [2022]   [Aug]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[mnyman-xhci:fix_port_disable_s4 1/1] drivers/usb/core/hcd-pci.c:637:19: error: use of undeclared identifier 'hcd_pci_poweroff_late'
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: i386-randconfig-a015-20220808 (https://download.01.org/0day-ci/archive/20220814/202208140802.8IhDwVtx-lkp@intel.com/config)
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 5f1c7e2cc5a3c07cbc2412e851a7283c1841f520)
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=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> drivers/usb/core/hcd-pci.c:637:19: error: use of undeclared identifier 'hcd_pci_poweroff_late'
.poweroff_late = hcd_pci_poweroff_late,
^
1 error generated.


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

\
 
 \ /
  Last update: 2022-08-14 02:54    [W:0.130 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site