Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

crypto: skcipher - Use crypto_request_complete

Use the crypto_request_complete helper instead of calling the
completion function directly.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

+1 -1
+1 -1
include/crypto/internal/skcipher.h
··· 94 94 95 95 static inline void skcipher_request_complete(struct skcipher_request *req, int err) 96 96 { 97 - req->base.complete(&req->base, err); 97 + crypto_request_complete(&req->base, err); 98 98 } 99 99 100 100 int crypto_grab_skcipher(struct crypto_skcipher_spawn *spawn,