projects
/
platform
/
kernel
/
linux-arm64.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3181c22
)
crypto: mv_cesa - dont return PTR_ERR() of wrong pointer
author
Roel Kluin
<roel.kluin@gmail.com>
Tue, 4 Jan 2011 04:37:16 +0000
(15:37 +1100)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Tue, 4 Jan 2011 12:34:06 +0000
(23:34 +1100)
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>
drivers/crypto/mv_cesa.c
patch
|
blob
|
history
diff --git
a/drivers/crypto/mv_cesa.c
b/drivers/crypto/mv_cesa.c
index
7d279e5
..
c99305a
100644
(file)
--- a/
drivers/crypto/mv_cesa.c
+++ b/
drivers/crypto/mv_cesa.c
@@
-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;
}
}