diff options
author | James Hogan | 2017-12-07 08:14:17 +0100 |
---|---|---|
committer | Ralf Baechle | 2018-01-10 16:47:55 +0100 |
commit | ccf85c744275de0ba40beff0bf9206a094f12e62 (patch) | |
tree | ef42135a2759cce8247e00683fbeaf488ea45204 /arch/mips/Kconfig | |
parent | MIPS: CM: Drop WARN_ON(vp != 0) (diff) | |
download | kernel-qcow2-linux-ccf85c744275de0ba40beff0bf9206a094f12e62.tar.gz kernel-qcow2-linux-ccf85c744275de0ba40beff0bf9206a094f12e62.tar.xz kernel-qcow2-linux-ccf85c744275de0ba40beff0bf9206a094f12e62.zip |
MIPS: mm: Fix duplicate "const" on insn_table_MM
Fix the following gcc 7.x build error on microMIPS builds:
arch/mips/mm/uasm-micromips.c:43:26: error: duplicate ‘const’ declaration specifier [-Werror=duplicate-decl-specifier]
static const struct insn const insn_table_MM[insn_invalid] = {
^~~~~
The same issue has already been fixed in uasm-mips by commit
00e06297b351 ("MIPS: mm: remove duplicate "const" qualifier on
insn_table").
Signed-off-by: James Hogan <jhogan@kernel.org>
Fixes: ce807d5f67ed ("MIPS: Optimize uasm insn lookup.")
Cc: David Daney <david.daney@cavium.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/17889/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/Kconfig')
0 files changed, 0 insertions, 0 deletions