Skip to content

Commit 25085ba

Browse files
committed
crypto: octeontx2 - 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 d80bcdf commit 25085ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ static void otx2_cpt_aead_callback(int status, void *arg1, void *arg2)
120120
otx2_cpt_info_destroy(pdev, inst_info);
121121
}
122122
if (areq)
123-
areq->complete(areq, status);
123+
crypto_request_complete(areq, status);
124124
}
125125

126126
static void output_iv_copyback(struct crypto_async_request *areq)
@@ -170,7 +170,7 @@ static void otx2_cpt_skcipher_callback(int status, void *arg1, void *arg2)
170170
pdev = inst_info->pdev;
171171
otx2_cpt_info_destroy(pdev, inst_info);
172172
}
173-
areq->complete(areq, status);
173+
crypto_request_complete(areq, status);
174174
}
175175
}
176176

0 commit comments

Comments
 (0)