From: Marek Vasut Date: Wed, 14 May 2014 09:41:03 +0000 (+0200) Subject: crypto: sahara - tfm->__crt_alg->cra_name directly X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=efa59e2e916c816a667c7b972723d979c0faca1b;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git crypto: sahara - tfm->__crt_alg->cra_name directly Signed-off-by: Marek Vasut Signed-off-by: Herbert Xu --- diff --git a/drivers/crypto/sahara.c b/drivers/crypto/sahara.c index 07a5987ce67d..164e1ec624e3 100644 --- a/drivers/crypto/sahara.c +++ b/drivers/crypto/sahara.c @@ -728,7 +728,7 @@ static int sahara_aes_cbc_decrypt(struct ablkcipher_request *req) static int sahara_aes_cra_init(struct crypto_tfm *tfm) { - const char *name = tfm->__crt_alg->cra_name; + const char *name = crypto_tfm_alg_name(tfm); struct sahara_ctx *ctx = crypto_tfm_ctx(tfm); ctx->fallback = crypto_alloc_ablkcipher(name, 0,