Re: [PATCH v8 22/22] RAS: add firmware-first CPER provider

From: kernel test robot

Date: Sat Dec 05 2026 - 04:55:21 EST


Hi Ahmed,

kernel test robot noticed the following build errors:

[auto build test ERROR on fe6ff8d5d675c01793b9f051d16055dd4aa75244]

url: https://github.com/intel-lab-lkp/linux/commits/Ahmed-Tiba/ACPI-APEI-GHES-wait-for-RCU-readers-before-unmapping/20261203-134006
base: fe6ff8d5d675c01793b9f051d16055dd4aa75244
patch link: https://lore.kernel.org/r/20261203-topics-ahmtib01-ras_ffh_arm_internal_review-v8-22-157aac88560b%40arm.com
patch subject: [PATCH v8 22/22] RAS: add firmware-first CPER provider
config: riscv-randconfig-1000-20261204 (https://download.01.org/0day-ci/archive/20261204/20261204162703.D5ogdaSI-lkp@xxxxxxxxx/config)
compiler: riscv64-linux-gcc (GCC) 9.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261204/20261204162703.D5ogdaSI-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/20261204162703.D5ogdaSI-lkp@xxxxxxxxx/

All error/warnings (new ones prefixed by >>):

In file included from drivers/acpi/apei/ghes_cper.c:42:
include/acpi/acpi_io.h: In function 'acpi_os_ioremap':
>> include/acpi/acpi_io.h:13:15: error: implicit declaration of function 'ioremap_cache'; did you mean 'ioremap_uc'? [-Werror=implicit-function-declaration]
13 | return ioremap_cache(phys, size);
| ^~~~~~~~~~~~~
| ioremap_uc
>> include/acpi/acpi_io.h:13:15: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion]
13 | return ioremap_cache(phys, size);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors


vim +13 include/acpi/acpi_io.h

652261a7a86c884 include/acpi/acpi_io.h Mark Salter 2015-03-24 8
652261a7a86c884 include/acpi/acpi_io.h Mark Salter 2015-03-24 9 #ifndef acpi_os_ioremap
2d6d9fd3a54a28c include/linux/acpi_io.h Rafael J. Wysocki 2011-01-19 10 static inline void __iomem *acpi_os_ioremap(acpi_physical_address phys,
2d6d9fd3a54a28c include/linux/acpi_io.h Rafael J. Wysocki 2011-01-19 11 acpi_size size)
2d6d9fd3a54a28c include/linux/acpi_io.h Rafael J. Wysocki 2011-01-19 12 {
2d6d9fd3a54a28c include/linux/acpi_io.h Rafael J. Wysocki 2011-01-19 @13 return ioremap_cache(phys, size);
2d6d9fd3a54a28c include/linux/acpi_io.h Rafael J. Wysocki 2011-01-19 14 }
652261a7a86c884 include/acpi/acpi_io.h Mark Salter 2015-03-24 15 #endif
2d6d9fd3a54a28c include/linux/acpi_io.h Rafael J. Wysocki 2011-01-19 16

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