All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] ARM: socfpga: fix duplicate const specifier warning
Date: Tue, 12 Sep 2017 19:50:42 +0200	[thread overview]
Message-ID: <c1564286-94a6-5cbe-da76-406352571283@denx.de> (raw)
In-Reply-To: <1505204619-22374-1-git-send-email-yamada.masahiro@socionext.com>

On 09/12/2017 10:23 AM, Masahiro Yamada wrote:
> GCC 7.1 warns:
> duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier]
> 
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> ---
> 
>  arch/arm/mach-socfpga/misc_gen5.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/mach-socfpga/misc_gen5.c b/arch/arm/mach-socfpga/misc_gen5.c
> index 2f1da74..91ddb79 100644
> --- a/arch/arm/mach-socfpga/misc_gen5.c
> +++ b/arch/arm/mach-socfpga/misc_gen5.c
> @@ -144,7 +144,7 @@ static const struct {
>  	const u16	pn;
>  	const char	*name;
>  	const char	*var;
> -} const socfpga_fpga_model[] = {
> +} socfpga_fpga_model[] = {
>  	/* Cyclone V E */
>  	{ 0x2b15, "Cyclone V, E/A2", "cv_e_a2" },
>  	{ 0x2b05, "Cyclone V, E/A4", "cv_e_a4" },
> 
Applied, thanks!

-- 
Best regards,
Marek Vasut

      parent reply	other threads:[~2017-09-12 17:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-12  8:23 [U-Boot] [PATCH] ARM: socfpga: fix duplicate const specifier warning Masahiro Yamada
2017-09-12 10:23 ` Marek Vasut
2017-09-12 13:19   ` Masahiro Yamada
2017-09-12 14:10     ` Marek Vasut
2017-09-12 16:52       ` Masahiro Yamada
2017-09-12 17:50 ` Marek Vasut [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c1564286-94a6-5cbe-da76-406352571283@denx.de \
    --to=marex@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.