mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-04-02 04:24:05 +00:00
crypto: mv_cesa - dont return PTR_ERR() of wrong pointer
Fix a PTR_ERR() return of the wrong pointer Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
3181c22587
commit
41f2977d40
1 changed files with 1 additions and 1 deletions
|
@ -857,7 +857,7 @@ static int mv_cra_hash_init(struct crypto_tfm *tfm, const char *base_hash_name,
|
||||||
printk(KERN_WARNING MV_CESA
|
printk(KERN_WARNING MV_CESA
|
||||||
"Base driver '%s' could not be loaded!\n",
|
"Base driver '%s' could not be loaded!\n",
|
||||||
base_hash_name);
|
base_hash_name);
|
||||||
err = PTR_ERR(fallback_tfm);
|
err = PTR_ERR(base_hash);
|
||||||
goto err_bad_base;
|
goto err_bad_base;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue