Skip to content

Commit ba354b2

Browse files
committed
crypto: kpp - 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 d958804 commit ba354b2

File tree

1 file changed

+1
-1
lines changed
  • include/crypto/internal

1 file changed

+1
-1
lines changed

include/crypto/internal/kpp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ static inline void *kpp_tfm_ctx_dma(struct crypto_kpp *tfm)
8585

8686
static inline void kpp_request_complete(struct kpp_request *req, int err)
8787
{
88-
req->base.complete(&req->base, err);
88+
crypto_request_complete(&req->base, err);
8989
}
9090

9191
static inline const char *kpp_alg_name(struct crypto_kpp *tfm)

0 commit comments

Comments
 (0)