Re: [PATCH] mips: mm: remove duplicate "const" qualifier on insn_table

From: Thomas Petazzoni
Date: Sun Aug 13 2017 - 16:32:26 EST


Hello,

On Thu, 3 Aug 2017 21:16:15 +0200, Thomas Petazzoni wrote:
> Fixes the following gcc 7.x build error:
>
> arch/mips/mm/uasm-mips.c:51:26: error: duplicate âconstâ declaration specifier [-Werror=duplicate-decl-specifier]
> static const struct insn const insn_table[insn_invalid] = {
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@xxxxxxxxxxxxxxxxxx>

Any feedback on this patch?

Thanks,

Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com