crypto: omap-aes: fix error return code in omap_aes_probe()
PATCH 1/1 crypto: omap-aes: fix error return code in omap_aes_probe()
Propagate the return value of platform_get_irq on failure.
Signed-off-by Gustavo A. R. Silva <[email protected]>
--- drivers/crypto/omap-aes.c | 1 + 1 file changed, 1 insertion(+)
drivers/crypto/omap-aes.c +1 -0
@@ -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; }
Signature · 1 line
2.5.0
Herbert Xu
maintainerQuoted 3 lines · Gustavo A. R. Silva
Propagate the return value of
platform_get_irqon failure.Signed-off-by Gustavo A. R. Silva <[email protected]>
Patch applied. 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