public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [rafael-pm:bleeding-edge 131/143] drivers/base/power/wakeup.c:376:undefined reference to `pm_sleep_transition_in_progress'
@ 2025-05-13 16:59 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-05-13 16:59 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: oe-kbuild-all, linux-acpi, devel, linux-pm, Mario Limonciello

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-05-13 16:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-13 16:59 [rafael-pm:bleeding-edge 131/143] drivers/base/power/wakeup.c:376:undefined reference to `pm_sleep_transition_in_progress' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox