From 8e379e8fb83f426a60a3ae0827743ebf881f6fde Mon Sep 17 00:00:00 2001 From: Ovidiu Panait Date: Fri, 25 Apr 2025 15:45:15 +0300 Subject: [PATCH] crypto: sun8i-ce-cipher - use crypto_skcipher_driver_name() Use crypto_skcipher_driver_name() helper from , instead of accessing struct crypto_alg directly. Signed-off-by: Ovidiu Panait Acked-by: Corentin LABBE Tested-by: Corentin LABBE Signed-off-by: Herbert Xu --- drivers/crypto/allwinner/sun8i-ce/sun8i-ce-cipher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/allwinner/sun8i-ce/sun8i-ce-cipher.c b/drivers/crypto/allwinner/sun8i-ce/sun8i-ce-cipher.c index 05f67661553c..ba50f98fdf09 100644 --- a/drivers/crypto/allwinner/sun8i-ce/sun8i-ce-cipher.c +++ b/drivers/crypto/allwinner/sun8i-ce/sun8i-ce-cipher.c @@ -438,7 +438,7 @@ int sun8i_ce_cipher_init(struct crypto_tfm *tfm) crypto_skcipher_reqsize(op->fallback_tfm)); memcpy(algt->fbname, - crypto_tfm_alg_driver_name(crypto_skcipher_tfm(op->fallback_tfm)), + crypto_skcipher_driver_name(op->fallback_tfm), CRYPTO_MAX_ALG_NAME); err = pm_runtime_get_sync(op->ce->dev); -- 2.50.1