Re: [PATCH] ACPI: s2idle: Handle shared _Ixx GPEs without an EC

From: kernel test robot

Date: Sat Oct 31 2026 - 00:50:49 EST


Hi Saranya,

kernel test robot noticed the following build warnings:

[auto build test WARNING on rafael-pm/linux-next]
[also build test WARNING on rafael-pm/bleeding-edge amd-pstate/linux-next amd-pstate/bleeding-edge linus/master next-20261030]
[cannot apply to v7.3]
[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/Saranya-Gopal/ACPI-s2idle-Handle-shared-_Ixx-GPEs-without-an-EC/20261030-083515
base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
patch link: https://lore.kernel.org/r/20261030030515.3127310-1-saranya.gopal%40intel.com
patch subject: [PATCH] ACPI: s2idle: Handle shared _Ixx GPEs without an EC
config: x86_64-buildonly-randconfig-1000-20261031 (https://download.01.org/0day-ci/archive/20261031/202610311242.kB7pRXhy-lkp@xxxxxxxxx/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/20261031/202610311242.kB7pRXhy-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202610311242.kB7pRXhy-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

In file included from drivers/acpi/sleep.c:26:
drivers/acpi/internal.h: In function 'acpi_ec_dispatch_gpe':
drivers/acpi/internal.h:262:17: error: 'ENOTSUP' undeclared (first use in this function); did you mean 'ENOTSUPP'?
262 | return -ENOTSUP;
| ^~~~~~~
| ENOTSUPP
drivers/acpi/internal.h:262:17: note: each undeclared identifier is reported only once for each function it appears in
>> drivers/acpi/internal.h:263:1: warning: control reaches end of non-void function [-Wreturn-type]
263 | }
| ^

Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for PM_GENERIC_DOMAINS_OF
Depends on [n]: PM_GENERIC_DOMAINS [=y] && OF [=n]
Selected by [y]:
- COMMON_CLK_MT8173_MFGTOP [=y] && COMMON_CLK [=y] && (ARCH_MEDIATEK || COMPILE_TEST [=y]) && COMMON_CLK_MT8173 [=y] && PM [=y]


vim +263 drivers/acpi/internal.h

a6021aa24f64174 Arnd Bergmann 2024-10-11 258
a6021aa24f64174 Arnd Bergmann 2024-10-11 259 static inline void acpi_ec_flush_work(void) {}
c644e4b14c9cb08 Saranya Gopal 2026-10-30 260 static inline int acpi_ec_dispatch_gpe(void)
a6021aa24f64174 Arnd Bergmann 2024-10-11 261 {
c644e4b14c9cb08 Saranya Gopal 2026-10-30 262 return -ENOTSUP;
a6021aa24f64174 Arnd Bergmann 2024-10-11 @263 }
a6021aa24f64174 Arnd Bergmann 2024-10-11 264

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