mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* next: parisc: drivers/eisa/eisa-bus.c:436:19: error: conflicting types for 'eisa_init'; have 'int(void)'
@ 2023-06-29  7:51 Naresh Kamboju
  2023-06-29  9:38 ` Helge Deller
  0 siblings, 1 reply; 2+ messages in thread
From: Naresh Kamboju @ 2023-06-29  7:51 UTC (permalink / raw)
  To: linux-parisc, open list, lkft-triage
  Cc: Helge Deller, Stephen Rothwell, Arnd Bergmann, Anders Roxell

Following build error noticed on parisc with defconfig with gcc-11 on
today's Linux next-20230629 tag.

Regressions found on parisc:

  - build/gcc-11-defconfig

Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>

drivers/eisa/eisa-bus.c:436:19: error: conflicting types for
'eisa_init'; have 'int(void)'
  436 | static int __init eisa_init(void)
      |                   ^~~~~~~~~
In file included from arch/parisc/include/asm/spinlock.h:7,
                 from arch/parisc/include/asm/atomic.h:22,
                 from include/linux/atomic.h:7,
                 from arch/parisc/include/asm/bitops.h:13,
                 from include/linux/bitops.h:68,
                 from include/linux/kernel.h:22,
                 from drivers/eisa/eisa-bus.c:8:
arch/parisc/include/asm/processor.h:324:13: note: previous declaration
of 'eisa_init' with type 'void(void)'
  324 | extern void eisa_init(void);
      |             ^~~~~~~~~
make[5]: *** [scripts/Makefile.build:243: drivers/eisa/eisa-bus.o] Error 1

Links,
- https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230629/testrun/17921584/suite/build/test/gcc-11-defconfig/log
- https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230629/testrun/17921584/suite/build/test/gcc-11-defconfig/details/

Steps to reproduce:
============
# pip3 install -U --user tuxmake
#
# Or install a deb/rpm depending on the running distribution
# See https://tuxmake.org/install-deb/ or
# https://tuxmake.org/install-rpm/
#
# See https://docs.tuxmake.org/ for complete documentation.


tuxmake --runtime podman --target-arch parisc --toolchain gcc-11
--kconfig defconfig

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

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

* Re: next: parisc: drivers/eisa/eisa-bus.c:436:19: error: conflicting types for 'eisa_init'; have 'int(void)'
  2023-06-29  7:51 next: parisc: drivers/eisa/eisa-bus.c:436:19: error: conflicting types for 'eisa_init'; have 'int(void)' Naresh Kamboju
@ 2023-06-29  9:38 ` Helge Deller
  0 siblings, 0 replies; 2+ messages in thread
From: Helge Deller @ 2023-06-29  9:38 UTC (permalink / raw)
  To: Naresh Kamboju, linux-parisc, open list, lkft-triage
  Cc: Stephen Rothwell, Arnd Bergmann, Anders Roxell

On 6/29/23 09:51, Naresh Kamboju wrote:
> Following build error noticed on parisc with defconfig with gcc-11 on
> today's Linux next-20230629 tag.
>
> Regressions found on parisc:
>
>    - build/gcc-11-defconfig
>
> Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
>
> drivers/eisa/eisa-bus.c:436:19: error: conflicting types for
> 'eisa_init'; have 'int(void)'
>    436 | static int __init eisa_init(void)
>        |                   ^~~~~~~~~


It's already fixed in latest parisc git tree.

Thanks,
Helge


> In file included from arch/parisc/include/asm/spinlock.h:7,
>                   from arch/parisc/include/asm/atomic.h:22,
>                   from include/linux/atomic.h:7,
>                   from arch/parisc/include/asm/bitops.h:13,
>                   from include/linux/bitops.h:68,
>                   from include/linux/kernel.h:22,
>                   from drivers/eisa/eisa-bus.c:8:
> arch/parisc/include/asm/processor.h:324:13: note: previous declaration
> of 'eisa_init' with type 'void(void)'
>    324 | extern void eisa_init(void);
>        |             ^~~~~~~~~
> make[5]: *** [scripts/Makefile.build:243: drivers/eisa/eisa-bus.o] Error 1
>
> Links,
> - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230629/testrun/17921584/suite/build/test/gcc-11-defconfig/log
> - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230629/testrun/17921584/suite/build/test/gcc-11-defconfig/details/
>
> Steps to reproduce:
> ============
> # pip3 install -U --user tuxmake
> #
> # Or install a deb/rpm depending on the running distribution
> # See https://tuxmake.org/install-deb/ or
> # https://tuxmake.org/install-rpm/
> #
> # See https://docs.tuxmake.org/ for complete documentation.
>
>
> tuxmake --runtime podman --target-arch parisc --toolchain gcc-11
> --kconfig defconfig
>
> --
> Linaro LKFT
> https://lkft.linaro.org


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

end of thread, other threads:[~2023-06-29  9:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-29  7:51 next: parisc: drivers/eisa/eisa-bus.c:436:19: error: conflicting types for 'eisa_init'; have 'int(void)' Naresh Kamboju
2023-06-29  9:38 ` Helge Deller

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

all inboxes | Powered by JetHome®