Skip to content

Commit 234650b

Browse files
committed
crypto: talitos - 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 555c566 commit 234650b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/crypto/talitos.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1560,7 +1560,7 @@ static void skcipher_done(struct device *dev,
15601560

15611561
kfree(edesc);
15621562

1563-
areq->base.complete(&areq->base, err);
1563+
skcipher_request_complete(areq, err);
15641564
}
15651565

15661566
static int common_nonsnoop(struct talitos_edesc *edesc,
@@ -1759,7 +1759,7 @@ static void ahash_done(struct device *dev,
17591759

17601760
kfree(edesc);
17611761

1762-
areq->base.complete(&areq->base, err);
1762+
ahash_request_complete(areq, err);
17631763
}
17641764

17651765
/*

0 commit comments

Comments
 (0)