projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
353ef08
)
crypto: omap-aes - fix error return code in omap_aes_probe()
author
Gustavo A. R. Silva
<garsilva@embeddedor.com>
Fri, 30 Jun 2017 07:00:54 +0000
(
02:00
-0500)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Tue, 18 Jul 2017 09:50:55 +0000
(17:50 +0800)
Propagate the return value of platform_get_irq on failure.
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/omap-aes.c
patch
|
blob
|
history
diff --git
a/drivers/crypto/omap-aes.c
b/drivers/crypto/omap-aes.c
index
5120a17
..
c376a3e
100644
(file)
--- a/
drivers/crypto/omap-aes.c
+++ b/
drivers/crypto/omap-aes.c
@@
-1095,6
+1095,7
@@
static int omap_aes_probe(struct platform_device *pdev)
irq = platform_get_irq(pdev, 0);
if (irq < 0) {
dev_err(dev, "can't get IRQ resource\n");
+ err = irq;
goto err_irq;
}