Commit 6becdff3 authored by akpm@osdl.org's avatar akpm@osdl.org Committed by James Bottomley

[SCSI] fix warning in scsi_softirq

From: Andrew Morton <akpm@osdl.org>

drivers/scsi/scsi.c: In function `scsi_softirq':
drivers/scsi/scsi.c:814: warning: int format, long int arg (arg 4)
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 3a1c1d44
...@@ -811,7 +811,7 @@ static void scsi_softirq(struct softirq_action *h) ...@@ -811,7 +811,7 @@ static void scsi_softirq(struct softirq_action *h)
if (disposition != SUCCESS && if (disposition != SUCCESS &&
time_before(cmd->jiffies_at_alloc + wait_for, jiffies)) { time_before(cmd->jiffies_at_alloc + wait_for, jiffies)) {
dev_printk(KERN_ERR, &cmd->device->sdev_gendev, dev_printk(KERN_ERR, &cmd->device->sdev_gendev,
"timing out command, waited %ds\n", "timing out command, waited %lus\n",
wait_for/HZ); wait_for/HZ);
disposition = SUCCESS; disposition = SUCCESS;
} }
......
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