From: kernel test robot <lkp@intel.com>
To: Riwen Lu <luriwen@kylinos.cn>, rafael@kernel.org, lenb@kernel.org
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
linux-acpi@vger.kernel.org, Riwen Lu <luriwen@kylinos.cn>
Subject: Re: [PATCH v1] ACPI: PM: Introduce CONFIG_ACPI_S2IDLE for platform-independent S2Idle support
Date: Wed, 7 Jan 2026 23:39:16 +0100 [thread overview]
Message-ID: <202601072320.hVTvfoUZ-lkp@intel.com> (raw)
In-Reply-To: <20260107015907.1421272-1-luriwen@kylinos.cn>
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@intel.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
prev parent reply other threads:[~2026-01-07 22:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-07 1:59 [PATCH v1] ACPI: PM: Introduce CONFIG_ACPI_S2IDLE for platform-independent S2Idle support Riwen Lu
2026-01-07 19:43 ` kernel test robot
2026-01-07 22:39 ` kernel test robot [this message]
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=202601072320.hVTvfoUZ-lkp@intel.com \
--to=lkp@intel.com \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=luriwen@kylinos.cn \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=rafael@kernel.org \
/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