mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 04:48:04 +09:00
ARM: 5944/1: scsi: fix timer setup in fas216.c
commit b857df1acc upstream.
mod_timer() takes an absolute time and not a delay as its argument.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
9922594935
commit
487d83f91b
@@ -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);
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user