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 f8e0350..70b911b 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);
 }
 
 /**