public inbox for linux-s390@vger.kernel.org
 help / color / mirror / Atom feed
* stable-rc/queue/6.14: S390: devres.h:111:16: error: implicit declaration of function 'IOMEM_ERR_PTR' [-Werror=implicit-function-declaration]
@ 2025-05-26 14:49 Naresh Kamboju
  2025-05-26 14:59 ` Arnd Bergmann
  0 siblings, 1 reply; 3+ messages in thread
From: Naresh Kamboju @ 2025-05-26 14:49 UTC (permalink / raw)
  To: linux-stable, open list, linux-s390, devel, lkft-triage
  Cc: Greg Kroah-Hartman, Sasha Levin, Arnd Bergmann, Anders Roxell,
	Dan Carpenter, Heiko Carstens, Vasily Gorbik, Alexander Gordeev

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-rc.git
* 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/v6.14.8-756-g3413aa4d097e/
* architecture: S390
* toolchain: gcc-8, gcc-13, clang-20, clang-nightly
* config : tinyconfig
* Build config:
https://storage.tuxsuite.com/public/linaro/lkft/builds/2xbEAey3MY3M8lp7doND4hPoZo3/config
* Build: https://storage.tuxsuite.com/public/linaro/lkft/builds/2xbEAey3MY3M8lp7doND4hPoZo3/

## Boot log
* Build log: https://qa-reports.linaro.org/lkft/linux-stable-rc-queues-queue_6.14/build/v6.14.8-756-g3413aa4d097e/testrun/28546580/suite/build/test/gcc-13-tinyconfig/log
* Build details:
https://qa-reports.linaro.org/lkft/linux-stable-rc-queues-queue_6.14/build/v6.14.8-756-g3413aa4d097e/testrun/28546580/suite/build/test/gcc-13-tinyconfig/details/
* Build history:
https://qa-reports.linaro.org/lkft/linux-stable-rc-queues-queue_6.14/build/v6.14.8-756-g3413aa4d097e/testrun/28546580/suite/build/test/gcc-13-tinyconfig/history/

## Steps to reproduce
 - tuxmake --runtime podman --target-arch s390 --toolchain gcc-13
--kconfig tinyconfig

--
Linaro LKFT
https://lkft.linaro.org

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: stable-rc/queue/6.14: S390: devres.h:111:16: error: implicit declaration of function 'IOMEM_ERR_PTR' [-Werror=implicit-function-declaration]
  2025-05-26 14:49 stable-rc/queue/6.14: S390: devres.h:111:16: error: implicit declaration of function 'IOMEM_ERR_PTR' [-Werror=implicit-function-declaration] Naresh Kamboju
@ 2025-05-26 14:59 ` Arnd Bergmann
  2025-05-27 14:46   ` Greg Kroah-Hartman
  0 siblings, 1 reply; 3+ messages in thread
From: Arnd Bergmann @ 2025-05-26 14:59 UTC (permalink / raw)
  To: Naresh Kamboju, linux-stable, open list, linux-s390, devel,
	lkft-triage
  Cc: Greg Kroah-Hartman, Sasha Levin, Anders Roxell, Dan Carpenter,
	Heiko Carstens, Vasily Gorbik, Alexander Gordeev

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: stable-rc/queue/6.14: S390: devres.h:111:16: error: implicit declaration of function 'IOMEM_ERR_PTR' [-Werror=implicit-function-declaration]
  2025-05-26 14:59 ` Arnd Bergmann
@ 2025-05-27 14:46   ` Greg Kroah-Hartman
  0 siblings, 0 replies; 3+ messages in thread
From: Greg Kroah-Hartman @ 2025-05-27 14:46 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: Naresh Kamboju, linux-stable, open list, linux-s390, devel,
	lkft-triage, Sasha Levin, Anders Roxell, Dan Carpenter,
	Heiko Carstens, Vasily Gorbik, Alexander Gordeev

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-05-27 14:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-26 14:49 stable-rc/queue/6.14: S390: devres.h:111:16: error: implicit declaration of function 'IOMEM_ERR_PTR' [-Werror=implicit-function-declaration] Naresh Kamboju
2025-05-26 14:59 ` Arnd Bergmann
2025-05-27 14:46   ` Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox