From: Ovidiu Panait Date: Fri, 25 Apr 2025 12:45:15 +0000 (+0300) Subject: crypto: sun8i-ce-cipher - use crypto_skcipher_driver_name() X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=8e379e8fb83f426a60a3ae0827743ebf881f6fde;p=users%2Fdwmw2%2Flinux.git 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 --- diff --git a/drivers/crypto/allwinner/sun8i-ce/sun8i-ce-cipher.c b/drivers/crypto/allwinner/sun8i-ce/sun8i-ce-cipher.c index 05f67661553c9..ba50f98fdf092 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);