[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20211110003932.51a605ef@canb.auug.org.au>
Date: Wed, 10 Nov 2021 00:39:32 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Naresh Kamboju <naresh.kamboju@...aro.org>
Cc: Paul Mackerras <paulus@...ba.org>,
linuxppc-dev <linuxppc-dev@...ts.ozlabs.org>,
open list <linux-kernel@...r.kernel.org>,
Linux-Next Mailing List <linux-next@...r.kernel.org>,
Scott Wood <oss@...error.net>,
Michael Ellerman <mpe@...erman.id.au>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>,
Anders Roxell <anders.roxell@...aro.org>
Subject: Re: powerpc: mcu_mpc8349emitx.c:189:13: error: unused variable
'ret' [-Werror=unused-variable]
Hi Naresh,
On Tue, 9 Nov 2021 18:37:48 +0530 Naresh Kamboju <naresh.kamboju@...aro.org> wrote:
>
> [Please ignore this email if it is already reported ]
>
> Regression found on powerpc gcc-8/9/10 and gcc-11 built with ppc6xx_defconfig
> Following build warnings / errors reported on linux next 20211109.
>
> metadata:
> git_describe: next-20211109
> git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next
> git_short_log: c8109c2ba35e (\"Add linux-next specific files for 20211109\")
> target_arch: powerpc
> toolchain: gcc-11
>
> build error :
> --------------
> <stdin>:1559:2: warning: #warning syscall futex_waitv not implemented [-Wcpp]
> arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c: In function 'mcu_remove':
> arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c:189:13: error: unused
> variable 'ret' [-Werror=unused-variable]
> 189 | int ret;
> | ^~~
> cc1: all warnings being treated as errors
> make[4]: *** [scripts/Makefile.build:288:
> arch/powerpc/platforms/83xx/mcu_mpc8349emitx.o] Error 1
> make[4]: Target '__build' not remade because of errors.
> make[3]: *** [scripts/Makefile.build:571: arch/powerpc/platforms/83xx] Error 2
>
> Reported-by: Linux Kernel Functional Testing <lkft@...aro.org>
>
> build link:
> -----------
> https://builds.tuxbuild.com/20fICxLPRCpcISasoGwKGICBELv/build.log
>
> build config:
> -------------
> https://builds.tuxbuild.com/20fICxLPRCpcISasoGwKGICBELv/config
>
> # To install tuxmake on your system globally
> # sudo pip3 install -U tuxmake
> tuxmake --runtime podman --target-arch powerpc --toolchain gcc-11
> --kconfig ppc6xx_defconfig
>
>
> --
> Linaro LKFT
> https://lkft.linaro.org
Caused by commit
5d354dc35ebb ("powerpc/83xx/mpc8349emitx: Make mcu_gpiochip_remove() return void")
that is now in Linus' tree.
--
Cheers,
Stephen Rothwell
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists