mirror of
https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux
synced 2025-10-06 01:33:39 +10:00
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>
This commit is contained in:
parent
a712bff023
commit
47c32286fb
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user