linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: shmobile: APMU: Fix warnings due to improper printk formats
@ 2014-03-04 18:11 Laurent Pinchart
  2014-03-05 10:06 ` Magnus Damm
  2014-03-06  4:14 ` Simon Horman
  0 siblings, 2 replies; 4+ messages in thread
From: Laurent Pinchart @ 2014-03-04 18:11 UTC (permalink / raw)
  To: linux-sh

Use the %pr printk specifier to print resource variables. This fixes
warnings on platforms where resource_size_t has a different size than
int.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
---
 arch/arm/mach-shmobile/platsmp-apmu.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/arm/mach-shmobile/platsmp-apmu.c b/arch/arm/mach-shmobile/platsmp-apmu.c
index 1da5a72..8cb641c 100644
--- a/arch/arm/mach-shmobile/platsmp-apmu.c
+++ b/arch/arm/mach-shmobile/platsmp-apmu.c
@@ -75,8 +75,7 @@ static void apmu_init_cpu(struct resource *res, int cpu, int bit)
 	apmu_cpus[cpu].iomem = ioremap_nocache(res->start, resource_size(res));
 	apmu_cpus[cpu].bit = bit;
 
-	pr_debug("apmu ioremap %d %d 0x%08x 0x%08x\n", cpu, bit,
-		 res->start, resource_size(res));
+	pr_debug("apmu ioremap %d %d %pr\n", cpu, bit, res);
 }
 
 static struct {
-- 
Regards,

Laurent Pinchart


^ permalink raw reply related	[flat|nested] 4+ messages in thread
* [GIT PULL] Third Round of Renesas ARM Based SoC Updates for v3.15
@ 2014-03-10  8:36 Simon Horman
  2014-03-10  8:36 ` [PATCH] ARM: shmobile: APMU: Fix warnings due to improper printk formats Simon Horman
  0 siblings, 1 reply; 4+ messages in thread
From: Simon Horman @ 2014-03-10  8:36 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Olof, Hi Kevin, Hi Arnd,

Please consider this third round of Renesas ARM based SoC updates for v3.15.

I am sending this pull request after the release of v3.14-rc6
as it only includes a fix.

This pull request is based on the previous round of
such requests, tagged as renesas-soc2-for-v3.15,
which I have already sent a pull-request for.


The following changes since commit c4ca5d80e03559fd95c526ece5ce39fc732a2511:

  ARM: shmobile: Move SYSC base variable to inside ifdefs (2014-02-26 14:53:35 +0900)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-soc3-for-v3.15

for you to fetch changes up to 56ff873122c4baab43df241c7701d043b8ec8a8e:

  ARM: shmobile: APMU: Fix warnings due to improper printk formats (2014-03-06 13:14:03 +0900)

----------------------------------------------------------------
Third Round of Renesas ARM Based SoC Updates for v3.15

Fix warnings due to improper printk formats in shared APMU code.

----------------------------------------------------------------
Laurent Pinchart (1):
      ARM: shmobile: APMU: Fix warnings due to improper printk formats

 arch/arm/mach-shmobile/platsmp-apmu.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

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

end of thread, other threads:[~2014-03-10  8:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-04 18:11 [PATCH] ARM: shmobile: APMU: Fix warnings due to improper printk formats Laurent Pinchart
2014-03-05 10:06 ` Magnus Damm
2014-03-06  4:14 ` Simon Horman
  -- strict thread matches above, loose matches on Subject: below --
2014-03-10  8:36 [GIT PULL] Third Round of Renesas ARM Based SoC Updates for v3.15 Simon Horman
2014-03-10  8:36 ` [PATCH] ARM: shmobile: APMU: Fix warnings due to improper printk formats Simon Horman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).