crypto: bcm - Use request_complete helpers
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 31 Jan 2023 08:02:12 +0000 (16:02 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 13 Feb 2023 10:34:49 +0000 (18:34 +0800)
Use the request_complete helpers instead of calling the completion
function directly.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/bcm/cipher.c

index f8e035039aeb0ff9a7a342f97842bc53931fdbaa..70b911baab26d23e2242b15d61d483ae9f20ff0f 100644 (file)
@@ -1614,7 +1614,7 @@ static void finish_req(struct iproc_reqctx_s *rctx, int err)
        spu_chunk_cleanup(rctx);
 
        if (areq)
-               areq->complete(areq, err);
+               crypto_request_complete(areq, err);
 }
 
 /**