projects
/
h-e-n
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
musb: output an error when wrong speed is selected for the hostmode
[h-e-n]
/
crypto
/
pcbc.c
diff --git
a/crypto/pcbc.c
b/crypto/pcbc.c
index
fe70477
..
d1b8bdf
100644
(file)
--- a/
crypto/pcbc.c
+++ b/
crypto/pcbc.c
@@
-234,7
+234,7
@@
static struct crypto_instance *crypto_pcbc_alloc(struct rtattr **tb)
alg = crypto_get_attr_alg(tb, CRYPTO_ALG_TYPE_CIPHER,
CRYPTO_ALG_TYPE_MASK);
if (IS_ERR(alg))
- return ERR_PTR(PTR_ERR(alg));
+ return ERR_CAST(alg);
inst = crypto_alloc_instance("pcbc", alg);
if (IS_ERR(inst))