Skip to content

Commit

Permalink
[SCSI] fix warning in scsi_softirq
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
akpm@osdl.org authored and James Bottomley committed Aug 12, 2005
1 parent 3a1c1d4 commit 6becdff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/scsi/scsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -811,7 +811,7 @@ static void scsi_softirq(struct softirq_action *h)
if (disposition != SUCCESS &&
time_before(cmd->jiffies_at_alloc + wait_for, jiffies)) {
dev_printk(KERN_ERR, &cmd->device->sdev_gendev,
"timing out command, waited %ds\n",
"timing out command, waited %lus\n",
wait_for/HZ);
disposition = SUCCESS;
}
Expand Down

0 comments on commit 6becdff

Please sign in to comment.