linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* mips: irq.c:114:19: error: unused variable 'desc' [-Werror=unused-variable]
@ 2021-10-28 11:47 Naresh Kamboju
  2021-10-28 13:50 ` Marc Zyngier
  0 siblings, 1 reply; 2+ messages in thread
From: Naresh Kamboju @ 2021-10-28 11:47 UTC (permalink / raw)
  To: Linux-Next Mailing List, linux-mips, open list
  Cc: Mark Rutland, Marc Zyngier, Thomas Bogendoerfer, Thomas Gleixner,
	Stephen Rothwell, lkft-triage

Regression found on mips gcc-10 built with defconfig
Following build warnings / errors reported on linux next 20211027.

The bisect tool pointing to the following commit
The first bad commit:

commit 4cb6f4df976b288aa02bbb658d38e73d34d8231f
  irq: mips: simplify do_domain_IRQ()

metadata:
    git_describe: next-20211027
    git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next
    git_short_log: ae5179317e79 (\"Add linux-next specific files for 20211027\")
    target_arch: mips
    toolchain: gcc-10

build error :
--------------
<stdin>:1559:2: warning: #warning syscall futex_waitv not implemented [-Wcpp]
arch/mips/kernel/irq.c: In function 'do_domain_IRQ':
arch/mips/kernel/irq.c:114:19: error: unused variable 'desc'
[-Werror=unused-variable]
  struct irq_desc *desc;
                   ^~~~
cc1: all warnings being treated as errors

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

build link:
-----------
https://builds.tuxbuild.com/205S9XOzkonL7F3xvY8YUO2l1QT/build.log

build config:
-------------
https://builds.tuxbuild.com/205S9XOzkonL7F3xvY8YUO2l1QT/config

# To install tuxmake on your system globally
# sudo pip3 install -U tuxmake
tuxmake --runtime podman --target-arch mips --toolchain gcc-10
--kconfig defconfig

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

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

* Re: mips: irq.c:114:19: error: unused variable 'desc' [-Werror=unused-variable]
  2021-10-28 11:47 mips: irq.c:114:19: error: unused variable 'desc' [-Werror=unused-variable] Naresh Kamboju
@ 2021-10-28 13:50 ` Marc Zyngier
  0 siblings, 0 replies; 2+ messages in thread
From: Marc Zyngier @ 2021-10-28 13:50 UTC (permalink / raw)
  To: Naresh Kamboju
  Cc: Linux-Next Mailing List, linux-mips, open list, Mark Rutland,
	Thomas Bogendoerfer, Thomas Gleixner, Stephen Rothwell,
	lkft-triage

On 2021-10-28 12:47, Naresh Kamboju wrote:
> Regression found on mips gcc-10 built with defconfig
> Following build warnings / errors reported on linux next 20211027.
> 
> The bisect tool pointing to the following commit
> The first bad commit:
> 
> commit 4cb6f4df976b288aa02bbb658d38e73d34d8231f
>   irq: mips: simplify do_domain_IRQ()
> 
> metadata:
>     git_describe: next-20211027
>     git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next
>     git_short_log: ae5179317e79 (\"Add linux-next specific files for 
> 20211027\")
>     target_arch: mips
>     toolchain: gcc-10
> 
> build error :
> --------------
> <stdin>:1559:2: warning: #warning syscall futex_waitv not implemented 
> [-Wcpp]
> arch/mips/kernel/irq.c: In function 'do_domain_IRQ':
> arch/mips/kernel/irq.c:114:19: error: unused variable 'desc'
> [-Werror=unused-variable]
>   struct irq_desc *desc;
>                    ^~~~
> cc1: all warnings being treated as errors
> 
> Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>

Already fixed as of 20211028095652.3503790-1-siyanteng@loongson.cn

         M.
-- 
Jazz is not dead. It just smells funny...

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

end of thread, other threads:[~2021-10-28 13:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-28 11:47 mips: irq.c:114:19: error: unused variable 'desc' [-Werror=unused-variable] Naresh Kamboju
2021-10-28 13:50 ` Marc Zyngier

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).