projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d53cfe
)
[S390] s390: PTR_ERR return of wrong pointer in fallback_init_cip()
author
Roel Kluin
<roel.kluin@gmail.com>
Fri, 18 Dec 2009 16:43:18 +0000
(17:43 +0100)
committer
Martin Schwidefsky
<sky@mschwide.boeblingen.de.ibm.com>
Fri, 18 Dec 2009 16:43:31 +0000
(17:43 +0100)
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>
arch/s390/crypto/aes_s390.c
patch
|
blob
|
history
diff --git
a/arch/s390/crypto/aes_s390.c
b/arch/s390/crypto/aes_s390.c
index
6118890
..
6be4503
100644
(file)
--- a/
arch/s390/crypto/aes_s390.c
+++ b/
arch/s390/crypto/aes_s390.c
@@
-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;