]> git.karo-electronics.de Git - linux-beck.git/commit
PCI: rcar: Check platform_get_irq() return code
authorBen Dooks <ben.dooks@codethink.co.uk>
Tue, 18 Feb 2014 02:10:51 +0000 (11:10 +0900)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 18 Feb 2014 20:16:55 +0000 (13:16 -0700)
commited65b78881c713b41051310780f94bde3c010db9
tree8aaceecf359f1bdcb000d373305b49efea81e4b3
parent38dbfb59d1175ef458d006556061adeaa8751b72
PCI: rcar: Check platform_get_irq() return code

The current code does not check the return from platform_get_irq() so add
an error check and return if this call does fail.

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
drivers/pci/host/pci-rcar-gen2.c