powerpc/ps3: printing fixups for l64 to ll64 conversion drivers/video
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 13 Jan 2009 20:13:39 +0000 (20:13 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 16 Jan 2009 05:15:15 +0000 (16:15 +1100)
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Acked-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/video/ps3fb.c

index 38ac805db97d4bcb5cdca4866f0fd3cfb430dce3..87f826e4c958c8c19c5c6b8d9471f21c5481f0df 100644 (file)
@@ -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,