From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965520AbdEOOW2 (ORCPT ); Mon, 15 May 2017 10:22:28 -0400 Received: from mail-vk0-f41.google.com ([209.85.213.41]:33322 "EHLO mail-vk0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964971AbdEOOW0 (ORCPT ); Mon, 15 May 2017 10:22:26 -0400 Date: Mon, 15 May 2017 15:22:24 +0100 From: Matt Fleming To: Arnd Bergmann Cc: Ard Biesheuvel , Ingo Molnar , David Howells , Josh Boyer , linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] efi: remove duplicate 'const' specifiers Message-ID: <20170515142224.GD2935@codeblueprint.co.uk> References: <20170511114337.2803599-1-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170511114337.2803599-1-arnd@arndb.de> User-Agent: Mutt/1.5.24+41 (02bc14ed1569) (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 11 May, at 01:43:17PM, Arnd Bergmann wrote: > gcc-7 shows a harmless warning: > > drivers/firmware/efi/libstub/secureboot.c:19:27: error: duplicate 'const' declaration specifier [-Werror=duplicate-decl-specifier] > static const efi_char16_t const efi_SecureBoot_name[] = { > drivers/firmware/efi/libstub/secureboot.c:22:27: error: duplicate 'const' declaration specifier [-Werror=duplicate-decl-specifier] > > Removing one of the specifiers gives us the expected behavior. > > Fixes: de8cb458625c ("efi: Get and store the secure boot status") > Signed-off-by: Arnd Bergmann > --- > drivers/firmware/efi/libstub/secureboot.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Thanks, applied to the urgent queue.