Skip to content

Commit 0cbe89d

Browse files
committed
crypto: qce - 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 6c62186 commit 0cbe89d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/crypto/qce/core.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ static int qce_handle_queue(struct qce_device *qce,
107107

108108
if (backlog) {
109109
spin_lock_bh(&qce->lock);
110-
backlog->complete(backlog, -EINPROGRESS);
110+
crypto_request_complete(backlog, -EINPROGRESS);
111111
spin_unlock_bh(&qce->lock);
112112
}
113113

@@ -132,7 +132,7 @@ static void qce_tasklet_req_done(unsigned long data)
132132
spin_unlock_irqrestore(&qce->lock, flags);
133133

134134
if (req)
135-
req->complete(req, qce->result);
135+
crypto_request_complete(req, qce->result);
136136

137137
qce_handle_queue(qce, NULL);
138138
}

0 commit comments

Comments
 (0)