public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] msm: platsmp: Mark ioremapped memory as __iomem
@ 2011-09-19 17:54 Stephen Boyd
  2011-09-19 19:12 ` Arnd Bergmann
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Boyd @ 2011-09-19 17:54 UTC (permalink / raw)
  To: linux-arm-kernel

Fixes a handful of sparse warnings.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
---
 arch/arm/mach-msm/platsmp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-msm/platsmp.c b/arch/arm/mach-msm/platsmp.c
index 1a1af9e..365ef3f 100644
--- a/arch/arm/mach-msm/platsmp.c
+++ b/arch/arm/mach-msm/platsmp.c
@@ -79,7 +79,7 @@ static __cpuinit void prepare_cold_cpu(unsigned int cpu)
 	ret = scm_set_boot_addr(virt_to_phys(msm_secondary_startup),
 				SCM_FLAG_COLDBOOT_CPU1);
 	if (ret == 0) {
-		void *sc1_base_ptr;
+		void __iomem *sc1_base_ptr;
 		sc1_base_ptr = ioremap_nocache(0x00902000, SZ_4K*2);
 		if (sc1_base_ptr) {
 			writel(0, sc1_base_ptr + VDD_SC1_ARRAY_CLAMP_GFS_CTL);
-- 
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.

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

* [PATCH] msm: platsmp: Mark ioremapped memory as __iomem
  2011-09-19 17:54 [PATCH] msm: platsmp: Mark ioremapped memory as __iomem Stephen Boyd
@ 2011-09-19 19:12 ` Arnd Bergmann
  0 siblings, 0 replies; 2+ messages in thread
From: Arnd Bergmann @ 2011-09-19 19:12 UTC (permalink / raw)
  To: linux-arm-kernel

On Monday 19 September 2011 10:54:04 Stephen Boyd wrote:
> Fixes a handful of sparse warnings.
> 
> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
> ---
>  arch/arm/mach-msm/platsmp.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Hi Stephen,

This looks good, and I've got a bunch of similar ones in
http://git.linaro.org/gitweb?p=people/arnd/linux.git;a=shortlog;h=refs/heads/randconfig
/msm

Maybe you or David could take a look at those and integrate
them. I was meaning to send them much earlier, but never
get around to actually make sure they are all good.

	arnd

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

end of thread, other threads:[~2011-09-19 19:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-19 17:54 [PATCH] msm: platsmp: Mark ioremapped memory as __iomem Stephen Boyd
2011-09-19 19:12 ` Arnd Bergmann

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