Skip to content

Commit 17fcc82

Browse files
committed
crypto: hifn_795x - 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 13c2075 commit 17fcc82

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/crypto/hifn_795x.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1705,7 +1705,7 @@ static void hifn_process_ready(struct skcipher_request *req, int error)
17051705
hifn_cipher_walk_exit(&rctx->walk);
17061706
}
17071707

1708-
req->base.complete(&req->base, error);
1708+
skcipher_request_complete(req, error);
17091709
}
17101710

17111711
static void hifn_clear_rings(struct hifn_device *dev, int error)
@@ -2054,7 +2054,7 @@ static int hifn_process_queue(struct hifn_device *dev)
20542054
break;
20552055

20562056
if (backlog)
2057-
backlog->complete(backlog, -EINPROGRESS);
2057+
crypto_request_complete(backlog, -EINPROGRESS);
20582058

20592059
req = skcipher_request_cast(async_req);
20602060

0 commit comments

Comments
 (0)