linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Rothwell <sfr@canb.auug.org.au>
To: Naresh Kamboju <naresh.kamboju@linaro.org>
Cc: "Anders Roxell" <anders.roxell@linaro.org>,
	"Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>,
	"open list" <linux-kernel@vger.kernel.org>,
	"Scott Wood" <oss@buserror.net>,
	"Linux-Next Mailing List" <linux-next@vger.kernel.org>,
	"Paul Mackerras" <paulus@samba.org>,
	linuxppc-dev <linuxppc-dev@lists.ozlabs.org>
Subject: Re: powerpc: mcu_mpc8349emitx.c:189:13: error: unused variable 'ret' [-Werror=unused-variable]
Date: Wed, 10 Nov 2021 00:39:32 +1100	[thread overview]
Message-ID: <20211110003932.51a605ef@canb.auug.org.au> (raw)
In-Reply-To: <CA+G9fYvviLKpT7a-1ZDmVp8YN8cCG0ixLpxv2uSubtsw-CkZCQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1924 bytes --]

Hi Naresh,

On Tue, 9 Nov 2021 18:37:48 +0530 Naresh Kamboju <naresh.kamboju@linaro.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@linaro.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

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  reply	other threads:[~2021-11-09 13:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-09 13:07 powerpc: mcu_mpc8349emitx.c:189:13: error: unused variable 'ret' [-Werror=unused-variable] Naresh Kamboju
2021-11-09 13:39 ` Stephen Rothwell [this message]
2021-11-10 11:07   ` [PATCH] powerpc/83xx/mpc8349emitx: Drop unused variable Uwe Kleine-König
2021-11-17 11:23     ` Michael Ellerman

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=20211110003932.51a605ef@canb.auug.org.au \
    --to=sfr@canb.auug.org.au \
    --cc=anders.roxell@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=naresh.kamboju@linaro.org \
    --cc=oss@buserror.net \
    --cc=paulus@samba.org \
    --cc=u.kleine-koenig@pengutronix.de \
    /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;
as well as URLs for NNTP newsgroup(s).