Thread (2 messages) 2 messages, 2 authors, 2021-10-28

Re: mips: irq.c:114:19: error: unused variable 'desc' [-Werror=unused-variable]

From: Marc Zyngier <maz@kernel.org>
Date: 2021-10-28 13:51:06
Also in: linux-mips, lkml

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 <redacted>
Already fixed as of 20211028095652.3503790-1-siyanteng@loongson.cn

         M.
-- 
Jazz is not dead. It just smells funny...
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help