projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge remote-tracking branch 'regulator/fix/db8500' into tmp
[cascardo/linux.git]
/
crypto
/
chainiv.c
diff --git
a/crypto/chainiv.c
b/crypto/chainiv.c
index
ba200b0
..
834d8dd
100644
(file)
--- a/
crypto/chainiv.c
+++ b/
crypto/chainiv.c
@@
-291,9
+291,8
@@
static struct crypto_instance *chainiv_alloc(struct rtattr **tb)
int err;
algt = crypto_get_attr_type(tb);
- err = PTR_ERR(algt);
if (IS_ERR(algt))
- return ERR_
PTR(err
);
+ return ERR_
CAST(algt
);
err = crypto_get_default_rng();
if (err)