All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Horman <horms@verge.net.au>
To: linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] ARM: shmobile: emev2: Use __initconst for const init definition
Date: Mon, 06 Jan 2014 08:20:03 +0000	[thread overview]
Message-ID: <20140106082003.GS24653@verge.net.au> (raw)
In-Reply-To: <1388114048-3630-1-git-send-email-horms+renesas@verge.net.au>

On Fri, Dec 27, 2013 at 12:14:08PM +0900, Simon Horman wrote:
> __initconst must be used instead of __initdata for
> const init definitions.
> 
> This problem was introduced by 3d5de27174955702 ("mach-shmobile: Emma
> Mobile EV2 DT support V3") in v3.4-rc7.

I have queued this up.

> 
> Reported-by: Fengguang Wu <fengguang.wu@intel.com>
> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
> ---
>  arch/arm/mach-shmobile/setup-emev2.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/mach-shmobile/setup-emev2.c b/arch/arm/mach-shmobile/setup-emev2.c
> index c8f2a1a..c71d667 100644
> --- a/arch/arm/mach-shmobile/setup-emev2.c
> +++ b/arch/arm/mach-shmobile/setup-emev2.c
> @@ -58,7 +58,7 @@ static void __init emev2_add_standard_devices_dt(void)
>  	of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
>  }
>  
> -static const char *emev2_boards_compat_dt[] __initdata = {
> +static const char *emev2_boards_compat_dt[] __initconst = {
>  	"renesas,emev2",
>  	NULL,
>  };
> -- 
> 1.8.4
> 

WARNING: multiple messages have this Message-ID (diff)
From: horms@verge.net.au (Simon Horman)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: shmobile: emev2: Use __initconst for const init definition
Date: Mon, 6 Jan 2014 17:20:03 +0900	[thread overview]
Message-ID: <20140106082003.GS24653@verge.net.au> (raw)
In-Reply-To: <1388114048-3630-1-git-send-email-horms+renesas@verge.net.au>

On Fri, Dec 27, 2013 at 12:14:08PM +0900, Simon Horman wrote:
> __initconst must be used instead of __initdata for
> const init definitions.
> 
> This problem was introduced by 3d5de27174955702 ("mach-shmobile: Emma
> Mobile EV2 DT support V3") in v3.4-rc7.

I have queued this up.

> 
> Reported-by: Fengguang Wu <fengguang.wu@intel.com>
> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
> ---
>  arch/arm/mach-shmobile/setup-emev2.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/mach-shmobile/setup-emev2.c b/arch/arm/mach-shmobile/setup-emev2.c
> index c8f2a1a..c71d667 100644
> --- a/arch/arm/mach-shmobile/setup-emev2.c
> +++ b/arch/arm/mach-shmobile/setup-emev2.c
> @@ -58,7 +58,7 @@ static void __init emev2_add_standard_devices_dt(void)
>  	of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
>  }
>  
> -static const char *emev2_boards_compat_dt[] __initdata = {
> +static const char *emev2_boards_compat_dt[] __initconst = {
>  	"renesas,emev2",
>  	NULL,
>  };
> -- 
> 1.8.4
> 

  reply	other threads:[~2014-01-06  8:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-27  3:14 [PATCH] ARM: shmobile: emev2: Use __initconst for const init definition Simon Horman
2013-12-27  3:14 ` Simon Horman
2014-01-06  8:20 ` Simon Horman [this message]
2014-01-06  8:20   ` Simon Horman

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=20140106082003.GS24653@verge.net.au \
    --to=horms@verge.net.au \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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.