Commit 76be12de authored by Randy Dunlap's avatar Randy Dunlap Committed by James Bottomley

[SCSI] dc395x: fix printk format warning

drivers/scsi/dc395x.c:1224: warning: format '%i' expects type 'int', but argument 5 has type 'size_t'
Signed-off-by: default avatarRandy Dunlap <rdunlap@xenotime.net>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 35a39691
...@@ -1219,7 +1219,7 @@ static void dump_register_info(struct AdapterCtlBlk *acb, ...@@ -1219,7 +1219,7 @@ static void dump_register_info(struct AdapterCtlBlk *acb,
srb, srb->cmd, srb->cmd->pid, srb, srb->cmd, srb->cmd->pid,
srb->cmd->cmnd[0], srb->cmd->device->id, srb->cmd->cmnd[0], srb->cmd->device->id,
srb->cmd->device->lun); srb->cmd->device->lun);
printk(" sglist=%p cnt=%i idx=%i len=%i\n", printk(" sglist=%p cnt=%i idx=%i len=%Zd\n",
srb->segment_x, srb->sg_count, srb->sg_index, srb->segment_x, srb->sg_count, srb->sg_index,
srb->total_xfer_length); srb->total_xfer_length);
printk(" state=0x%04x status=0x%02x phase=0x%02x (%sconn.)\n", printk(" state=0x%04x status=0x%02x phase=0x%02x (%sconn.)\n",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment