diff options
author | Kees Cook <keescook@chromium.org> | 2017-10-25 03:27:37 -0700 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2017-11-14 11:01:41 +0100 |
commit | cefbeb5df56e1daf0adda8ca5eecee03c5084af6 (patch) | |
tree | 482011c53f7a9fdaf701cad2f2bfbdef4cc1754b /drivers/s390/crypto/ap_queue.c | |
parent | c9602ee7d14a72086d10b50ac68e1ea5c01e7579 (diff) | |
download | linux-cefbeb5df56e1daf0adda8ca5eecee03c5084af6.tar.gz linux-cefbeb5df56e1daf0adda8ca5eecee03c5084af6.tar.bz2 linux-cefbeb5df56e1daf0adda8ca5eecee03c5084af6.zip |
s390/ap_bus: Convert timers to use timer_setup()
In preparation for unconditionally passing the struct timer_list pointer to
all timer callbacks, switch to using the new timer_setup() and from_timer()
to pass the timer pointer explicitly.
Cc: Harald Freudenberger <freude@de.ibm.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'drivers/s390/crypto/ap_queue.c')
-rw-r--r-- | drivers/s390/crypto/ap_queue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/crypto/ap_queue.c b/drivers/s390/crypto/ap_queue.c index a550d40921e7..ba3a2e13b0eb 100644 --- a/drivers/s390/crypto/ap_queue.c +++ b/drivers/s390/crypto/ap_queue.c @@ -634,7 +634,7 @@ struct ap_queue *ap_queue_create(ap_qid_t qid, int device_type) INIT_LIST_HEAD(&aq->list); INIT_LIST_HEAD(&aq->pendingq); INIT_LIST_HEAD(&aq->requestq); - setup_timer(&aq->timeout, ap_request_timeout, (unsigned long) aq); + timer_setup(&aq->timeout, ap_request_timeout, 0); return aq; } |