Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Guennadi Liakhovetski and committed by
Russell King
b857df1a 6c09f09d

+1 -1
+1 -1
drivers/scsi/arm/fas216.c
··· 2516 2516 if (info->scsi.phase == PHASE_IDLE) 2517 2517 fas216_kick(info); 2518 2518 2519 - mod_timer(&info->eh_timer, 30 * HZ); 2519 + mod_timer(&info->eh_timer, jiffies + 30 * HZ); 2520 2520 spin_unlock_irqrestore(&info->host_lock, flags); 2521 2521 2522 2522 /*