Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1641747 > unrolled thread

Re: [PATCH] efi: remove duplicate 'const' specifiers

Started byMatt Fleming <matt@codeblueprint.co.uk>
First post2017-05-15 16:30 +0200
Last post2017-05-15 16:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] efi: remove duplicate 'const' specifiers Matt Fleming <matt@codeblueprint.co.uk> - 2017-05-15 16:30 +0200

#1641747 — Re: [PATCH] efi: remove duplicate 'const' specifiers

FromMatt Fleming <matt@codeblueprint.co.uk>
Date2017-05-15 16:30 +0200
SubjectRe: [PATCH] efi: remove duplicate 'const' specifiers
Message-ID<tHpaz-Ra-31@gated-at.bofh.it>
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 <arnd@arndb.de>
> ---
>  drivers/firmware/efi/libstub/secureboot.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Thanks, applied to the urgent queue.

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web