[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202601072320.hVTvfoUZ-lkp@intel.com>
Date: Wed, 7 Jan 2026 23:39:16 +0100
From: kernel test robot <lkp@...el.com>
To: Riwen Lu <luriwen@...inos.cn>, rafael@...nel.org, lenb@...nel.org
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
linux-acpi@...r.kernel.org, Riwen Lu <luriwen@...inos.cn>
Subject: Re: [PATCH v1] ACPI: PM: Introduce CONFIG_ACPI_S2IDLE for
platform-independent S2Idle support
Hi Riwen,
kernel test robot noticed the following build errors:
[auto build test ERROR on rafael-pm/linux-next]
[also build test ERROR on rafael-pm/bleeding-edge linus/master v6.19-rc4 next-20260107]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Riwen-Lu/ACPI-PM-Introduce-CONFIG_ACPI_S2IDLE-for-platform-independent-S2Idle-support/20260107-101450
base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
patch link: https://lore.kernel.org/r/20260107015907.1421272-1-luriwen%40kylinos.cn
patch subject: [PATCH v1] ACPI: PM: Introduce CONFIG_ACPI_S2IDLE for platform-independent S2Idle support
config: x86_64-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20260107/202601072320.hVTvfoUZ-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260107/202601072320.hVTvfoUZ-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202601072320.hVTvfoUZ-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/acpi/s2idle.c:155:20: error: static declaration of 'acpi_s2idle_setup' follows non-static declaration
155 | static inline void acpi_s2idle_setup(void) {}
| ^~~~~~~~~~~~~~~~~
In file included from drivers/acpi/s2idle.c:13:
drivers/acpi/sleep.h:24:13: note: previous declaration of 'acpi_s2idle_setup' with type 'void(void)'
24 | extern void acpi_s2idle_setup(void);
| ^~~~~~~~~~~~~~~~~
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for ACPI_S2IDLE
Depends on [n]: ACPI [=y] && SUSPEND [=n]
Selected by [y]:
- ACPI_SYSTEM_POWER_STATES_SUPPORT [=y] && ACPI [=y]
vim +/acpi_s2idle_setup +155 drivers/acpi/s2idle.c
152
153 #else /* !CONFIG_SUSPEND */
154 #define s2idle_wakeup (false)
> 155 static inline void acpi_s2idle_setup(void) {}
156 #endif /* !CONFIG_SUSPEND */
157
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists