lkml.org 
[lkml]   [2010]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[002/145] ARM: 5944/1: scsi: fix timer setup in fas216.c
    2.6.32-stable review patch.  If anyone has any objections, please let me know.

    ----------------
    From: Guennadi Liakhovetski <g.liakhovetski@gmx.de>

    commit b857df1acc634b18db1db2a40864af985100266e 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>

    ---
    drivers/scsi/arm/fas216.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- a/drivers/scsi/arm/fas216.c
    +++ b/drivers/scsi/arm/fas216.c
    @@ -2516,7 +2516,7 @@ int fas216_eh_device_reset(struct scsi_c
    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);

    /*



    \
     
     \ /
      Last update: 2010-03-13 01:33    [W:4.129 / U:0.028 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site