Skip to content

Commit

Permalink
ARM: 5944/1: scsi: fix timer setup in fas216.c
Browse files Browse the repository at this point in the history
mod_timer() takes an absolute time and not a delay as its argument.

Cc: <stable@kernel.org>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Guennadi Liakhovetski authored and Russell King committed Feb 18, 2010
1 parent 6c09f09 commit b857df1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/scsi/arm/fas216.c
Original file line number Diff line number Diff line change
Expand Up @@ -2516,7 +2516,7 @@ int fas216_eh_device_reset(struct scsi_cmnd *SCpnt)
if (info->scsi.phase == PHASE_IDLE)
fas216_kick(info);

mod_timer(&info->eh_timer, 30 * HZ);
mod_timer(&info->eh_timer, jiffies + 30 * HZ);
spin_unlock_irqrestore(&info->host_lock, flags);

/*
Expand Down

0 comments on commit b857df1

Please sign in to comment.