Skip to content

Commit d577067

Browse files
committed
crypto: skcipher - Use crypto_request_complete
Use the crypto_request_complete helper instead of calling the completion function directly. Signed-off-by: Herbert Xu <[email protected]>
1 parent ba354b2 commit d577067

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/crypto/internal/skcipher.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ static inline void *skcipher_instance_ctx(struct skcipher_instance *inst)
9494

9595
static inline void skcipher_request_complete(struct skcipher_request *req, int err)
9696
{
97-
req->base.complete(&req->base, err);
97+
crypto_request_complete(&req->base, err);
9898
}
9999

100100
int crypto_grab_skcipher(struct crypto_skcipher_spawn *spawn,

0 commit comments

Comments
 (0)