projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b516d51
)
crypto: api - fixed style erro in algapi.c
author
Joshua I. James
<joshua@cybercrimetech.com>
Fri, 5 Dec 2014 06:00:10 +0000
(15:00 +0900)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Mon, 22 Dec 2014 12:02:37 +0000
(23:02 +1100)
Fixed style error identified by checkpatch.
WARNING: Missing a blank line after declarations
+ int err = crypto_remove_alg(&inst->alg, &users);
+ BUG_ON(err);
Signed-off-by: Joshua I. James <joshua@cybercrimetech.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/algapi.c
patch
|
blob
|
history
diff --git
a/crypto/algapi.c
b/crypto/algapi.c
index
71a8143
..
83b04e0
100644
(file)
--- a/
crypto/algapi.c
+++ b/
crypto/algapi.c
@@
-473,6
+473,7
@@
void crypto_unregister_template(struct crypto_template *tmpl)
list = &tmpl->instances;
hlist_for_each_entry(inst, list, list) {
int err = crypto_remove_alg(&inst->alg, &users);
+
BUG_ON(err);
}