Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752064AbdHMUcU convert rfc822-to-8bit (ORCPT ); Sun, 13 Aug 2017 16:32:20 -0400 Received: from mail.free-electrons.com ([62.4.15.54]:33596 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751810AbdHMUcT (ORCPT ); Sun, 13 Aug 2017 16:32:19 -0400 Date: Sun, 13 Aug 2017 22:31:53 +0200 From: Thomas Petazzoni To: Ralf Baechle , David Daney Cc: linux-mips@linux-mips.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mips: mm: remove duplicate "const" qualifier on insn_table Message-ID: <20170813223153.5b15a8a6@windsurf> In-Reply-To: <20170803191615.16874-1-thomas.petazzoni@free-electrons.com> References: <20170803191615.16874-1-thomas.petazzoni@free-electrons.com> Organization: Free Electrons X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 524 Lines: 19 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 Any feedback on this patch? Thanks, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com