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

login
register
mail settings
Submitter Stephen Rothwell
Date Jan. 14, 2009, 6:11 a.m.
Message ID <20090114171144.ec449da3.sfr@canb.auug.org.au>
Download mbox | patch
Permalink /patch/18382/
State Accepted
Commit 7ad489e3d2459f7520d9062cb855ff29a8dd683d
Headers show

Comments

Stephen Rothwell - Jan. 14, 2009, 6:11 a.m.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 drivers/scsi/ps3rom.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

James, 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/scsi/ps3rom.c |    6 +++---
>  1 files changed, 3 insertions(+), 3 deletions(-)

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

Patch

diff --git a/drivers/scsi/ps3rom.c b/drivers/scsi/ps3rom.c
index ce48e2d..ca0dd33 100644
--- a/drivers/scsi/ps3rom.c
+++ b/drivers/scsi/ps3rom.c
@@ -290,11 +290,11 @@  static irqreturn_t ps3rom_interrupt(int irq, void *data)
 
 	if (tag != dev->tag)
 		dev_err(&dev->sbd.core,
-			"%s:%u: tag mismatch, got %lx, expected %lx\n",
+			"%s:%u: tag mismatch, got %llx, expected %llx\n",
 			__func__, __LINE__, tag, dev->tag);
 
 	if (res) {
-		dev_err(&dev->sbd.core, "%s:%u: res=%d status=0x%lx\n",
+		dev_err(&dev->sbd.core, "%s:%u: res=%d status=0x%llx\n",
 			__func__, __LINE__, res, status);
 		return IRQ_HANDLED;
 	}
@@ -364,7 +364,7 @@  static int __devinit ps3rom_probe(struct ps3_system_bus_device *_dev)
 
 	if (dev->blk_size != CD_FRAMESIZE) {
 		dev_err(&dev->sbd.core,
-			"%s:%u: cannot handle block size %lu\n", __func__,
+			"%s:%u: cannot handle block size %llu\n", __func__,
 			__LINE__, dev->blk_size);
 		return -EINVAL;
 	}