Patchwork [13/13] powerpc/ps3: printing fixups for l64 to ll64 conversion: drivers/video

login
register
mail settings
Submitter Stephen Rothwell
Date Jan. 14, 2009, 6:13 a.m.
Message ID <20090114171339.09faa843.sfr@canb.auug.org.au>
Download mbox | patch
Permalink /patch/18383/
State Accepted, archived
Commit 5d9ee3ff3dbf815cd9ee18c166bb9b538e8057d2
Headers show

Comments

Stephen Rothwell - Jan. 14, 2009, 6:13 a.m.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 drivers/video/ps3fb.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Antonino, if it is OK with you, this could go in via the PowerPC tree.
Geoff Levand - Jan. 14, 2009, 10:54 p.m.
Stephen Rothwell wrote:
> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
> ---
>  drivers/video/ps3fb.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)

Acked-by: Geoff Levand <geoffrey.levand@am.sony.com>

Patch

diff --git a/drivers/video/ps3fb.c b/drivers/video/ps3fb.c
index 38ac805..87f826e 100644
--- a/drivers/video/ps3fb.c
+++ b/drivers/video/ps3fb.c
@@ -1006,7 +1006,7 @@  static int ps3fb_xdr_settings(u64 xdr_lpar, struct device *dev)
 			__func__, status);
 		return -ENXIO;
 	}
-	dev_dbg(dev, "video:%p ioif:%lx lpar:%lx size:%lx\n",
+	dev_dbg(dev, "video:%p ioif:%lx lpar:%llx size:%lx\n",
 		ps3fb_videomemory.address, GPU_IOIF, xdr_lpar,
 		ps3fb_videomemory.size);
 
@@ -1133,7 +1133,7 @@  static int __devinit ps3fb_probe(struct ps3_system_bus_device *dev)
 			__func__, status);
 		goto err;
 	}
-	dev_dbg(&dev->core, "ddr:lpar:0x%lx\n", ddr_lpar);
+	dev_dbg(&dev->core, "ddr:lpar:0x%llx\n", ddr_lpar);
 
 	status = lv1_gpu_context_allocate(ps3fb.memory_handle, 0,
 					  &ps3fb.context_handle,