Commit 0d07ae6a authored by Herbert Xu's avatar Herbert Xu

crypto: ixp4xx - Use request_complete helpers

Use the request_complete helpers instead of calling the completion
function directly.
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 47c32286
...@@ -382,7 +382,7 @@ static void one_packet(dma_addr_t phys) ...@@ -382,7 +382,7 @@ static void one_packet(dma_addr_t phys)
if (req_ctx->hmac_virt) if (req_ctx->hmac_virt)
finish_scattered_hmac(crypt); finish_scattered_hmac(crypt);
req->base.complete(&req->base, failed); aead_request_complete(req, failed);
break; break;
} }
case CTL_FLAG_PERFORM_ABLK: { case CTL_FLAG_PERFORM_ABLK: {
...@@ -407,7 +407,7 @@ static void one_packet(dma_addr_t phys) ...@@ -407,7 +407,7 @@ static void one_packet(dma_addr_t phys)
free_buf_chain(dev, req_ctx->dst, crypt->dst_buf); free_buf_chain(dev, req_ctx->dst, crypt->dst_buf);
free_buf_chain(dev, req_ctx->src, crypt->src_buf); free_buf_chain(dev, req_ctx->src, crypt->src_buf);
req->base.complete(&req->base, failed); skcipher_request_complete(req, failed);
break; break;
} }
case CTL_FLAG_GEN_ICV: case CTL_FLAG_GEN_ICV:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment