public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Rafael J. Wysocki" <rjw@rjwysocki.net>
Cc: oe-kbuild-all@lists.linux.dev, linux-acpi@vger.kernel.org,
	devel@acpica.org, linux-pm@vger.kernel.org,
	Mario Limonciello <mario.limonciello@amd.com>
Subject: [rafael-pm:bleeding-edge 131/143] drivers/base/power/wakeup.c:376:undefined reference to `pm_sleep_transition_in_progress'
Date: Wed, 14 May 2025 00:59:17 +0800	[thread overview]
Message-ID: <202505140033.hlHonEIr-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
head:   e6b70b05628d6ec7335b0fcfe50e60e273fba2d2
commit: d1b37a4c5081dbad554b8e792b7a7937b635db58 [131/143] PM: sleep: Introduce pm_sleep_transition_in_progress()
config: riscv-randconfig-002-20250513 (https://download.01.org/0day-ci/archive/20250514/202505140033.hlHonEIr-lkp@intel.com/config)
compiler: riscv64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250514/202505140033.hlHonEIr-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202505140033.hlHonEIr-lkp@intel.com/

All errors (new ones prefixed by >>):

   riscv64-linux-ld: drivers/base/power/wakeup.o: in function `device_wakeup_attach_irq':
>> drivers/base/power/wakeup.c:376:(.text+0x15c6): undefined reference to `pm_sleep_transition_in_progress'


vim +376 drivers/base/power/wakeup.c

074037ec79bea7 Rafael J. Wysocki 2010-09-22  354  
4990d4fe327b9d Tony Lindgren     2015-05-18  355  /**
4990d4fe327b9d Tony Lindgren     2015-05-18  356   * device_wakeup_attach_irq - Attach a wakeirq to a wakeup source
4990d4fe327b9d Tony Lindgren     2015-05-18  357   * @dev: Device to handle
4990d4fe327b9d Tony Lindgren     2015-05-18  358   * @wakeirq: Device specific wakeirq entry
4990d4fe327b9d Tony Lindgren     2015-05-18  359   *
4990d4fe327b9d Tony Lindgren     2015-05-18  360   * Attach a device wakeirq to the wakeup source so the device
4990d4fe327b9d Tony Lindgren     2015-05-18  361   * wake IRQ can be configured automatically for suspend and
4990d4fe327b9d Tony Lindgren     2015-05-18  362   * resume.
6d3dab7d84177f Rafael J. Wysocki 2015-07-07  363   *
6d3dab7d84177f Rafael J. Wysocki 2015-07-07  364   * Call under the device's power.lock lock.
4990d4fe327b9d Tony Lindgren     2015-05-18  365   */
7bf4e594c28afc Rafael J. Wysocki 2018-01-05  366  void device_wakeup_attach_irq(struct device *dev,
4990d4fe327b9d Tony Lindgren     2015-05-18  367  			     struct wake_irq *wakeirq)
4990d4fe327b9d Tony Lindgren     2015-05-18  368  {
4990d4fe327b9d Tony Lindgren     2015-05-18  369  	struct wakeup_source *ws;
4990d4fe327b9d Tony Lindgren     2015-05-18  370  
4990d4fe327b9d Tony Lindgren     2015-05-18  371  	ws = dev->power.wakeup;
7bf4e594c28afc Rafael J. Wysocki 2018-01-05  372  	if (!ws)
7bf4e594c28afc Rafael J. Wysocki 2018-01-05  373  		return;
4990d4fe327b9d Tony Lindgren     2015-05-18  374  
6d3dab7d84177f Rafael J. Wysocki 2015-07-07  375  	if (ws->wakeirq)
7bf4e594c28afc Rafael J. Wysocki 2018-01-05 @376  		dev_err(dev, "Leftover wakeup IRQ found, overriding\n");
4990d4fe327b9d Tony Lindgren     2015-05-18  377  
4990d4fe327b9d Tony Lindgren     2015-05-18  378  	ws->wakeirq = wakeirq;
4990d4fe327b9d Tony Lindgren     2015-05-18  379  }
4990d4fe327b9d Tony Lindgren     2015-05-18  380  

:::::: The code at line 376 was first introduced by commit
:::::: 7bf4e594c28afc67bc120a380ca774e43ca496d8 PM / wakeup: Do not fail dev_pm_attach_wake_irq() unnecessarily

:::::: TO: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
:::::: CC: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

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

                 reply	other threads:[~2025-05-13 16:59 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=202505140033.hlHonEIr-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=devel@acpica.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=mario.limonciello@amd.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=rjw@rjwysocki.net \
    /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