Skip to content

Commit d80bcdf

Browse files
committed
crypto: octeontx - Use request_complete helpers
Use the request_complete helpers instead of calling the completion function directly. Signed-off-by: Herbert Xu <[email protected]>
1 parent 25e3159 commit d80bcdf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/crypto/marvell/octeontx/otx_cptvf_algs.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ static void otx_cpt_aead_callback(int status, void *arg1, void *arg2)
138138

139139
complete:
140140
if (areq)
141-
areq->complete(areq, status);
141+
crypto_request_complete(areq, status);
142142
}
143143

144144
static void output_iv_copyback(struct crypto_async_request *areq)
@@ -188,7 +188,7 @@ static void otx_cpt_skcipher_callback(int status, void *arg1, void *arg2)
188188
pdev = cpt_info->pdev;
189189
do_request_cleanup(pdev, cpt_info);
190190
}
191-
areq->complete(areq, status);
191+
crypto_request_complete(areq, status);
192192
}
193193
}
194194

0 commit comments

Comments
 (0)