Skip to content

Commit ea2fbe3

Browse files
committed
crypto: nitrox - 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 b34a641 commit ea2fbe3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/crypto/cavium/nitrox/nitrox_aead.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ static void nitrox_aead_callback(void *arg, int err)
199199
err = -EINVAL;
200200
}
201201

202-
areq->base.complete(&areq->base, err);
202+
aead_request_complete(areq, err);
203203
}
204204

205205
static inline bool nitrox_aes_gcm_assoclen_supported(unsigned int assoclen)
@@ -434,7 +434,7 @@ static void nitrox_rfc4106_callback(void *arg, int err)
434434
err = -EINVAL;
435435
}
436436

437-
areq->base.complete(&areq->base, err);
437+
aead_request_complete(areq, err);
438438
}
439439

440440
static int nitrox_rfc4106_enc(struct aead_request *areq)

0 commit comments

Comments
 (0)