projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72e5806
)
crypto: n2 - dubious error check
author
Nicolas Kaiser
<nikai@nikai.net>
Mon, 25 Oct 2010 23:25:42 +0000
(19:25 -0400)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Mon, 25 Oct 2010 23:25:42 +0000
(19:25 -0400)
Looks like a copy-and-paste problem to me.
Signed-off-by: Nicolas Kaiser <nikai@nikai.net>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/n2_core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/crypto/n2_core.c
b/drivers/crypto/n2_core.c
index 88ee01510ec0132d894763dc9ac967b101ea0439..76141262ea1d41b256ad4e70b4af5e5b1bc34f28 100644
(file)
--- a/
drivers/crypto/n2_core.c
+++ b/
drivers/crypto/n2_core.c
@@
-1832,7
+1832,7
@@
static int __devinit get_irq_props(struct mdesc_handle *mdesc, u64 node,
return -ENODEV;
ino = mdesc_get_property(mdesc, node, "ino", &ino_len);
- if (!in
tr
)
+ if (!in
o
)
return -ENODEV;
if (intr_len != ino_len)