Files
Sven Schnelle 57de1fbecf 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-18 14:04:30 +01:00
..
2020-03-25 12:39:37 +01:00
2019-06-19 17:54:27 +02:00
2019-04-29 10:47:10 +02:00
2020-03-25 12:39:37 +01:00
2019-08-26 12:51:17 +02:00
2018-06-12 16:19:22 -07:00