Regressions on S390 tinyconfig builds failing with gcc-13, gcc-8 and clang-20 and clang-nightly tool chains on the stable-rc/queue/6.14.
Regression Analysis: - New regression? Yes - Reproducible? Yes
Build regression: S390 tinyconfig devres.h 'devm_ioremap_resource' implicit declaration of function 'IOMEM_ERR_PTR'
Reported-by: Linux Kernel Functional Testing lkft@linaro.org
Build log: --------- In file included from include/linux/device.h:31, from include/linux/node.h:18, from include/linux/cpu.h:17, from arch/s390/kernel/traps.c:28: include/linux/device/devres.h: In function 'devm_ioremap_resource': include/linux/device/devres.h:111:16: error: implicit declaration of function 'IOMEM_ERR_PTR' [-Werror=implicit-function-declaration] 111 | return IOMEM_ERR_PTR(-EINVAL); | ^~~~~~~~~~~~~
## Source * kernel version: 6.14.8 * git tree: https://kernel.googlesource.com/pub/scm/linux/kernel/git/stable/linux-stable... * git sha: 3413aa4d097e291186719c26f341c52f8550e22c * git describe: v6.14.8-756-g3413aa4d097e * project details: https://qa-reports.linaro.org/lkft/linux-stable-rc-queues-queue_6.14/build/v... * architecture: S390 * toolchain: gcc-8, gcc-13, clang-20, clang-nightly * config : tinyconfig * Build config: https://storage.tuxsuite.com/public/linaro/lkft/builds/2xbEAey3MY3M8lp7doND4... * Build: https://storage.tuxsuite.com/public/linaro/lkft/builds/2xbEAey3MY3M8lp7doND4...
## Boot log * Build log: https://qa-reports.linaro.org/lkft/linux-stable-rc-queues-queue_6.14/build/v... * Build details: https://qa-reports.linaro.org/lkft/linux-stable-rc-queues-queue_6.14/build/v... * Build history: https://qa-reports.linaro.org/lkft/linux-stable-rc-queues-queue_6.14/build/v...
## Steps to reproduce - tuxmake --runtime podman --target-arch s390 --toolchain gcc-13 --kconfig tinyconfig
-- Linaro LKFT https://lkft.linaro.org
On Mon, May 26, 2025, at 16:49, Naresh Kamboju wrote:
Regressions on S390 tinyconfig builds failing with gcc-13, gcc-8 and clang-20 and clang-nightly tool chains on the stable-rc/queue/6.14.
Regression Analysis:
- New regression? Yes
- Reproducible? Yes
Build regression: S390 tinyconfig devres.h 'devm_ioremap_resource' implicit declaration of function 'IOMEM_ERR_PTR'
Reported-by: Linux Kernel Functional Testing lkft@linaro.org
Build log:
In file included from include/linux/device.h:31, from include/linux/node.h:18, from include/linux/cpu.h:17, from arch/s390/kernel/traps.c:28: include/linux/device/devres.h: In function 'devm_ioremap_resource': include/linux/device/devres.h:111:16: error: implicit declaration of function 'IOMEM_ERR_PTR' [-Werror=implicit-function-declaration] 111 | return IOMEM_ERR_PTR(-EINVAL); | ^~~~~~~~~~~~~
The backport of a21cad931276 ("driver core: Split devres APIs to device/devres.h") also needs a backport of 18311a766c58 ("err.h: move IOMEM_ERR_PTR() to err.h")
Arnd
On Mon, May 26, 2025 at 04:59:54PM +0200, Arnd Bergmann wrote:
On Mon, May 26, 2025, at 16:49, Naresh Kamboju wrote:
Regressions on S390 tinyconfig builds failing with gcc-13, gcc-8 and clang-20 and clang-nightly tool chains on the stable-rc/queue/6.14.
Regression Analysis:
- New regression? Yes
- Reproducible? Yes
Build regression: S390 tinyconfig devres.h 'devm_ioremap_resource' implicit declaration of function 'IOMEM_ERR_PTR'
Reported-by: Linux Kernel Functional Testing lkft@linaro.org
Build log:
In file included from include/linux/device.h:31, from include/linux/node.h:18, from include/linux/cpu.h:17, from arch/s390/kernel/traps.c:28: include/linux/device/devres.h: In function 'devm_ioremap_resource': include/linux/device/devres.h:111:16: error: implicit declaration of function 'IOMEM_ERR_PTR' [-Werror=implicit-function-declaration] 111 | return IOMEM_ERR_PTR(-EINVAL); | ^~~~~~~~~~~~~
The backport of a21cad931276 ("driver core: Split devres APIs to device/devres.h") also needs a backport of 18311a766c58 ("err.h: move IOMEM_ERR_PTR() to err.h")
Now queued up, thanks.
greg k-h
linux-stable-mirror@lists.linaro.org