lkml.org 
[lkml]   [2023]   [Jun]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: next: parisc: drivers/eisa/eisa-bus.c:436:19: error: conflicting types for 'eisa_init'; have 'int(void)'
From
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

\
 
 \ /
  Last update: 2023-06-29 11:39    [W:0.027 / U:1.640 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site