Skip to content

Commit 47c3228

Browse files
committed
crypto: safexcel - 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 a712bff commit 47c3228

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/crypto/inside-secure/safexcel.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -850,7 +850,7 @@ void safexcel_dequeue(struct safexcel_crypto_priv *priv, int ring)
850850
goto request_failed;
851851

852852
if (backlog)
853-
backlog->complete(backlog, -EINPROGRESS);
853+
crypto_request_complete(backlog, -EINPROGRESS);
854854

855855
/* In case the send() helper did not issue any command to push
856856
* to the engine because the input data was cached, continue to
@@ -1039,7 +1039,7 @@ static inline void safexcel_handle_result_descriptor(struct safexcel_crypto_priv
10391039

10401040
if (should_complete) {
10411041
local_bh_disable();
1042-
req->complete(req, ret);
1042+
crypto_request_complete(req, ret);
10431043
local_bh_enable();
10441044
}
10451045

0 commit comments

Comments
 (0)