mirror of https://gitee.com/openkylin/linux.git
ARM: 5944/1: scsi: fix timer setup in fas216.c
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>
This commit is contained in:
parent
6c09f09d44
commit
b857df1acc
|
@ -2516,7 +2516,7 @@ int fas216_eh_device_reset(struct scsi_cmnd *SCpnt)
|
||||||
if (info->scsi.phase == PHASE_IDLE)
|
if (info->scsi.phase == PHASE_IDLE)
|
||||||
fas216_kick(info);
|
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);
|
spin_unlock_irqrestore(&info->host_lock, flags);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue