powerpc/ps3: Printing fixups for l64 to ll64 conversion drivers/scsi

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>
This commit is contained in:
Stephen Rothwell 2009-01-13 20:11:44 +00:00 committed by Benjamin Herrenschmidt
parent a9dad6e598
commit 7ad489e3d2

View File

@ -290,11 +290,11 @@ static irqreturn_t ps3rom_interrupt(int irq, void *data)
if (tag != dev->tag) if (tag != dev->tag)
dev_err(&dev->sbd.core, 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); __func__, __LINE__, tag, dev->tag);
if (res) { 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); __func__, __LINE__, res, status);
return IRQ_HANDLED; return IRQ_HANDLED;
} }
@ -364,7 +364,7 @@ static int __devinit ps3rom_probe(struct ps3_system_bus_device *_dev)
if (dev->blk_size != CD_FRAMESIZE) { if (dev->blk_size != CD_FRAMESIZE) {
dev_err(&dev->sbd.core, 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); __LINE__, dev->blk_size);
return -EINVAL; return -EINVAL;
} }