Skip to content

Commit 0d07ae6

Browse files
committed
crypto: ixp4xx - 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 47c3228 commit 0d07ae6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/crypto/ixp4xx_crypto.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ static void one_packet(dma_addr_t phys)
382382
if (req_ctx->hmac_virt)
383383
finish_scattered_hmac(crypt);
384384

385-
req->base.complete(&req->base, failed);
385+
aead_request_complete(req, failed);
386386
break;
387387
}
388388
case CTL_FLAG_PERFORM_ABLK: {
@@ -407,7 +407,7 @@ static void one_packet(dma_addr_t phys)
407407
free_buf_chain(dev, req_ctx->dst, crypt->dst_buf);
408408

409409
free_buf_chain(dev, req_ctx->src, crypt->src_buf);
410-
req->base.complete(&req->base, failed);
410+
skcipher_request_complete(req, failed);
411411
break;
412412
}
413413
case CTL_FLAG_GEN_ICV:

0 commit comments

Comments
 (0)