mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 06:12:08 +00:00
[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: Andrew Morton <akpm@osdl.org> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
This commit is contained in:
parent
3a1c1d446b
commit
6becdff3bc
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user