mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Naresh Kamboju <naresh.kamboju@linaro.org>
To: linux-parisc <linux-parisc@vger.kernel.org>,
	open list <linux-kernel@vger.kernel.org>,
	lkft-triage@lists.linaro.org
Cc: Helge Deller <deller@gmx.de>,
	Stephen Rothwell <sfr@canb.auug.org.au>,
	Arnd Bergmann <arnd@arndb.de>,
	Anders Roxell <anders.roxell@linaro.org>
Subject: next: parisc: drivers/eisa/eisa-bus.c:436:19: error: conflicting types for 'eisa_init'; have 'int(void)'
Date: Thu, 29 Jun 2023 13:21:53 +0530	[thread overview]
Message-ID: <CA+G9fYsb4LCdjoXAz-o7myZfcCOQFdr2af68tYUP+JY17SikjQ@mail.gmail.com> (raw)

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

             reply	other threads:[~2023-06-29  7:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-29  7:51 Naresh Kamboju [this message]
2023-06-29  9:38 ` Helge Deller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA+G9fYsb4LCdjoXAz-o7myZfcCOQFdr2af68tYUP+JY17SikjQ@mail.gmail.com \
    --to=naresh.kamboju@linaro.org \
    --cc=anders.roxell@linaro.org \
    --cc=arnd@arndb.de \
    --cc=deller@gmx.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-parisc@vger.kernel.org \
    --cc=lkft-triage@lists.linaro.org \
    --cc=sfr@canb.auug.org.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®