Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 41f2977d authored by Roel Kluin's avatar Roel Kluin Committed by Herbert Xu
Browse files

crypto: mv_cesa - dont return PTR_ERR() of wrong pointer



Fix a PTR_ERR() return of the wrong pointer

Signed-off-by: default avatarRoel Kluin <roel.kluin@gmail.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 3181c225
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -857,7 +857,7 @@ static int mv_cra_hash_init(struct crypto_tfm *tfm, const char *base_hash_name,
			printk(KERN_WARNING MV_CESA
			       "Base driver '%s' could not be loaded!\n",
			       base_hash_name);
			err = PTR_ERR(fallback_tfm);
			err = PTR_ERR(base_hash);
			goto err_bad_base;
		}
	}