summaryrefslogtreecommitdiff
path: root/drivers/scsi/ips.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-03-31 12:17:09 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2013-04-09 14:13:27 -0400
commit1bb7109a1c7dd6266db0240b7f344fbed20b9063 (patch)
treeb1c537281ddf10e31dc3306f4e628c092f10c685 /drivers/scsi/ips.c
parentaacce706fae01dbef03a0c2ca40a363bcb88b24a (diff)
ips: fix format bugs exposed by previous commit
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/scsi/ips.c')
-rw-r--r--drivers/scsi/ips.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/ips.c b/drivers/scsi/ips.c
index 3f9b335292da..8d5ea8a1e5a6 100644
--- a/drivers/scsi/ips.c
+++ b/drivers/scsi/ips.c
@@ -2049,16 +2049,16 @@ ips_host_info(ips_ha_t *ha, struct seq_file *m)
if (ha->io_addr)
seq_printf(m,
- "\tIO region : 0x%lx (%d bytes)\n",
+ "\tIO region : 0x%x (%d bytes)\n",
ha->io_addr, ha->io_len);
if (ha->mem_addr) {
seq_printf(m,
- "\tMemory region : 0x%lx (%d bytes)\n",
+ "\tMemory region : 0x%x (%d bytes)\n",
ha->mem_addr, ha->mem_len);
seq_printf(m,
"\tShared memory address : 0x%lx\n",
- ha->mem_ptr);
+ (unsigned long)ha->mem_ptr);
}
seq_printf(m, "\tIRQ number : %d\n", ha->pcidev->irq);