diff options
author | Sven Schnelle <svens@linux.ibm.com> | 2021-11-02 12:55:30 +0300 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2021-11-08 16:17:49 +0300 |
commit | 213fca9e23b59581c573d558aa477556f00b8198 (patch) | |
tree | b9df9d23c85818987ceb4e892853f7762d7dab60 /lib/test_hmm.c | |
parent | 4cdf2f4e24ff0d345fc36ef6d6aec059333a261e (diff) | |
download | linux-213fca9e23b59581c573d558aa477556f00b8198.tar.xz |
s390/tape: fix timer initialization in tape_std_assign()
commit 9c6c273aa424 ("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: 9c6c273aa424 ("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>
Diffstat (limited to 'lib/test_hmm.c')
0 files changed, 0 insertions, 0 deletions