From: Herbert Xu Date: Tue, 31 Jan 2023 08:02:15 +0000 (+0800) Subject: crypto: cpt - Use request_complete helpers X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b34a6416728812b5ca283598100516852646a133;p=linux.git crypto: cpt - Use request_complete helpers Use the request_complete helpers instead of calling the completion function directly. Signed-off-by: Herbert Xu --- diff --git a/drivers/crypto/cavium/cpt/cptvf_algs.c b/drivers/crypto/cavium/cpt/cptvf_algs.c index 0b38c2600b86b..ee476c6c7f827 100644 --- a/drivers/crypto/cavium/cpt/cptvf_algs.c +++ b/drivers/crypto/cavium/cpt/cptvf_algs.c @@ -28,7 +28,7 @@ static void cvm_callback(u32 status, void *arg) { struct crypto_async_request *req = (struct crypto_async_request *)arg; - req->complete(req, !status); + crypto_request_complete(req, !status); } static inline void update_input_iv(struct cpt_request_info *req_info,