public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [GIT PULL] Renesas ARM Based SoC Fixes for v4.4
@ 2015-11-27  1:56 Simon Horman
  2015-11-27  1:56 ` [PATCH] ARM: shmobile: r8a7793: proper constness with __initconst Simon Horman
  2015-11-27 16:30 ` [GIT PULL] Renesas ARM Based SoC Fixes for v4.4 Arnd Bergmann
  0 siblings, 2 replies; 3+ messages in thread
From: Simon Horman @ 2015-11-27  1:56 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Olof, Hi Kevin, Hi Arnd,

Please consider these Renesas ARM based SoC fixes for v4.4.

The single patch in this pull-request corrects a section mismatch
in r8a7793 SoC code. Thanks to Nicolas Pitre for this fix.


The following changes since commit 8005c49d9aea74d382f474ce11afbbc7d7130bec:

  Linux 4.4-rc1 (2015-11-15 17:00:27 -0800)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-fixes-for-v4.4

for you to fetch changes up to c29d387b0bffb3ccce76e4fcdad9bfa7344ba338:

  ARM: shmobile: r8a7793: proper constness with __initconst (2015-11-22 17:13:13 -0800)

----------------------------------------------------------------
Renesas ARM Based SoC Fixes for v4.4

* r8a7793 SoC: Annotate r8a7793_boards_compat_dt with __initconst
  Aside from being correct this builds that otherwise
  fail with section mismatch errors.

----------------------------------------------------------------
Nicolas Pitre (1):
      ARM: shmobile: r8a7793: proper constness with __initconst

 arch/arm/mach-shmobile/setup-r8a7793.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] ARM: shmobile: r8a7793: proper constness with __initconst
  2015-11-27  1:56 [GIT PULL] Renesas ARM Based SoC Fixes for v4.4 Simon Horman
@ 2015-11-27  1:56 ` Simon Horman
  2015-11-27 16:30 ` [GIT PULL] Renesas ARM Based SoC Fixes for v4.4 Arnd Bergmann
  1 sibling, 0 replies; 3+ messages in thread
From: Simon Horman @ 2015-11-27  1:56 UTC (permalink / raw)
  To: linux-arm-kernel

From: Nicolas Pitre <nicolas.pitre@linaro.org>

Both the pointer array and the pointed data have to be const when using
__initconst to be correct.  This also fixes LTO builds that otherwise
fail with section mismatch errors.

Fixes: ec60d95b4fac ("ARM: shmobile: Basic r8a7793 SoC support")
Signed-off-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/mach-shmobile/setup-r8a7793.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-shmobile/setup-r8a7793.c b/arch/arm/mach-shmobile/setup-r8a7793.c
index 1d2825cb7a65..5fce87f7f254 100644
--- a/arch/arm/mach-shmobile/setup-r8a7793.c
+++ b/arch/arm/mach-shmobile/setup-r8a7793.c
@@ -19,7 +19,7 @@
 #include "common.h"
 #include "rcar-gen2.h"
 
-static const char *r8a7793_boards_compat_dt[] __initconst = {
+static const char * const r8a7793_boards_compat_dt[] __initconst = {
 	"renesas,r8a7793",
 	NULL,
 };
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [GIT PULL] Renesas ARM Based SoC Fixes for v4.4
  2015-11-27  1:56 [GIT PULL] Renesas ARM Based SoC Fixes for v4.4 Simon Horman
  2015-11-27  1:56 ` [PATCH] ARM: shmobile: r8a7793: proper constness with __initconst Simon Horman
@ 2015-11-27 16:30 ` Arnd Bergmann
  1 sibling, 0 replies; 3+ messages in thread
From: Arnd Bergmann @ 2015-11-27 16:30 UTC (permalink / raw)
  To: linux-arm-kernel

On Friday 27 November 2015 10:56:05 Simon Horman wrote:
> Hi Olof, Hi Kevin, Hi Arnd,
> ----------------------------------------------------------------
> Renesas ARM Based SoC Fixes for v4.4
> 
> * r8a7793 SoC: Annotate r8a7793_boards_compat_dt with __initconst
>   Aside from being correct this builds that otherwise
>   fail with section mismatch errors.

Pulled into fixes, thanks!

	Arnd

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-11-27 16:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-27  1:56 [GIT PULL] Renesas ARM Based SoC Fixes for v4.4 Simon Horman
2015-11-27  1:56 ` [PATCH] ARM: shmobile: r8a7793: proper constness with __initconst Simon Horman
2015-11-27 16:30 ` [GIT PULL] Renesas ARM Based SoC Fixes for v4.4 Arnd Bergmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox