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

Configure Feed

Select the types of activity you want to include in your feed.

crypto: sun8i-ce-cipher - use crypto_skcipher_driver_name()

Use crypto_skcipher_driver_name() helper from <crypto/skcipher.h>, instead
of accessing struct crypto_alg directly.

Signed-off-by: Ovidiu Panait <ovidiu.panait.oss@gmail.com>
Acked-by: Corentin LABBE <clabbe.montjoie@gmail.com>
Tested-by: Corentin LABBE <clabbe.montjoie@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

authored by

Ovidiu Panait and committed by
Herbert Xu
8e379e8f f31adc3e

+1 -1
+1 -1
drivers/crypto/allwinner/sun8i-ce/sun8i-ce-cipher.c
··· 438 438 crypto_skcipher_reqsize(op->fallback_tfm)); 439 439 440 440 memcpy(algt->fbname, 441 - crypto_tfm_alg_driver_name(crypto_skcipher_tfm(op->fallback_tfm)), 441 + crypto_skcipher_driver_name(op->fallback_tfm), 442 442 CRYPTO_MAX_ALG_NAME); 443 443 444 444 err = pm_runtime_get_sync(op->ce->dev);