diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2023-01-31 11:02:29 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-02-13 13:34:49 +0300 |
commit | 47c32286fbc6399812b8b10f4f45473f82f16730 (patch) | |
tree | 6d700d7ca337207f59e78d164d531533f2a0dbc0 /drivers/crypto | |
parent | a712bff02333821639ff4b19ceed5a988ea8c50a (diff) | |
download | linux-47c32286fbc6399812b8b10f4f45473f82f16730.tar.xz |
crypto: safexcel - Use request_complete helpers
Use the request_complete helpers instead of calling the completion
function directly.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto')
-rw-r--r-- | drivers/crypto/inside-secure/safexcel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/crypto/inside-secure/safexcel.c b/drivers/crypto/inside-secure/safexcel.c index baff0123f919..6858753af6b3 100644 --- a/drivers/crypto/inside-secure/safexcel.c +++ b/drivers/crypto/inside-secure/safexcel.c @@ -850,7 +850,7 @@ handle_req: goto request_failed; if (backlog) - backlog->complete(backlog, -EINPROGRESS); + crypto_request_complete(backlog, -EINPROGRESS); /* In case the send() helper did not issue any command to push * to the engine because the input data was cached, continue to @@ -1039,7 +1039,7 @@ handle_results: if (should_complete) { local_bh_disable(); - req->complete(req, ret); + crypto_request_complete(req, ret); local_bh_enable(); } |