Files
linux/drivers
Sven Schnelle 3edf40b5e7 s390/tape: fix timer initialization in tape_std_assign()
commit 213fca9e23 upstream.

commit 9c6c273aa4 ("timer: Remove init_timer_on_stack() in favor
of timer_setup_on_stack()") changed the timer setup from
init_timer_on_stack(() to timer_setup(), but missed to change the
mod_timer() call. And while at it, use msecs_to_jiffies() instead
of the open coded timeout calculation.

Cc: stable@vger.kernel.org
Fixes: 9c6c273aa4 ("timer: Remove init_timer_on_stack() in favor of timer_setup_on_stack()")
Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Reviewed-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-11-26 11:36:18 +01:00
..
2021-11-26 11:36:01 +01:00
2021-07-20 16:15:55 +02:00
2021-11-26 11:35:59 +01:00
2021-01-17 14:04:22 +01:00
2020-12-30 11:26:04 +01:00
2019-07-26 09:14:05 +02:00
2021-11-26 11:36:16 +01:00
2020-02-24 08:34:47 +01:00