drivers/crypto: dubious error check
PATCH 1/1 drivers/crypto: dubious error check
Looks like a copy-and-paste problem to me.
Signed-off-by Nicolas Kaiser <[email protected]>
--- drivers/crypto/n2_core.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/crypto/n2_core.c +1 -1
@@ -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 (!intr) +if (!ino)return -ENODEV ;if (intr_len != ino_len)
Signature · 1 line
1.7.2.2
From: Nicolas Kaiser <[email protected]>
Date: Sun, 24 Oct 2010 15:05:56 +0200
Quoted 3 lines
Looks like a copy-and-paste problem to me.
Signed-off-by Nicolas Kaiser <[email protected]>
Acked-by David S. Miller <[email protected]>
Herbert Xu
AppliedQuoted 8 lines · David Miller
From: Nicolas Kaiser <[email protected]>
Date: Sun, 24 Oct 2010 15:05:56 +0200Quoted 3 lines
Looks like a copy-and-paste problem to me.
Signed-off-by Nicolas Kaiser <[email protected]>Acked-by David S. Miller <[email protected]>
Applied to crypto-2.6. Thanks!
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt