]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
crypto: cesa - tfm->__crt_alg->cra_name directly
authorMarek Vasut <marex@denx.de>
Wed, 14 May 2014 09:40:59 +0000 (11:40 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 22 May 2014 13:03:14 +0000 (21:03 +0800)
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/mv_cesa.c

index 8d1e6f8e9e9cf613519b14fa5e5126135d37e986..1549db76982e1863e39025ed4d154110f7d0c5ba 100644 (file)
@@ -843,7 +843,7 @@ static int mv_hash_setkey(struct crypto_ahash *tfm, const u8 * key,
 static int mv_cra_hash_init(struct crypto_tfm *tfm, const char *base_hash_name,
                            enum hash_op op, int count_add)
 {
-       const char *fallback_driver_name = tfm->__crt_alg->cra_name;
+       const char *fallback_driver_name = crypto_tfm_alg_name(tfm);
        struct mv_tfm_hash_ctx *ctx = crypto_tfm_ctx(tfm);
        struct crypto_shash *fallback_tfm = NULL;
        struct crypto_shash *base_hash = NULL;