mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Mathias Nyman <mathias.nyman@linux.intel.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [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)
Date: Thu, 11 Aug 2022 11:51:33 +0800	[thread overview]
Message-ID: <202208111117.4rp9JQa6-lkp@intel.com> (raw)

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@intel.com/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@intel.com>

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

                 reply	other threads:[~2022-08-11  3:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202208111117.4rp9JQa6-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mathias.nyman@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®