mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-04-01 03:54:02 +00:00
[S390] s390: PTR_ERR return of wrong pointer in fallback_init_cip()
Return the PTR_ERR of the correct pointer. Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
parent
6d53cfe590
commit
b59cdcb339
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ static int fallback_init_cip(struct crypto_tfm *tfm)
|
||||||
if (IS_ERR(sctx->fallback.cip)) {
|
if (IS_ERR(sctx->fallback.cip)) {
|
||||||
pr_err("Allocating AES fallback algorithm %s failed\n",
|
pr_err("Allocating AES fallback algorithm %s failed\n",
|
||||||
name);
|
name);
|
||||||
return PTR_ERR(sctx->fallback.blk);
|
return PTR_ERR(sctx->fallback.cip);
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue