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

Commit b59cdcb3 authored by Roel Kluin's avatar Roel Kluin Committed by Martin Schwidefsky
Browse files

[S390] s390: PTR_ERR return of wrong pointer in fallback_init_cip()



Return the PTR_ERR of the correct pointer.

Signed-off-by: default avatarRoel Kluin <roel.kluin@gmail.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 6d53cfe5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -174,7 +174,7 @@ static int fallback_init_cip(struct crypto_tfm *tfm)
	if (IS_ERR(sctx->fallback.cip)) {
		pr_err("Allocating AES fallback algorithm %s failed\n",
		       name);
		return PTR_ERR(sctx->fallback.blk);
		return PTR_ERR(sctx->fallback.cip);
	}

	return 0;