PCI: rcar: Handle rcar_pcie_parse_request_of_pci_ranges() failures
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 7 Dec 2017 10:15:20 +0000 (11:15 +0100)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Tue, 19 Dec 2017 11:25:43 +0000 (11:25 +0000)
commit83c75ddd816e979802bd244ad494139f28152921
tree3238f78353af3a272f42518a6aa387e57813f7de
parent1291a0d5049dbc06baaaf66a9ff3f53db493b19b
PCI: rcar: Handle rcar_pcie_parse_request_of_pci_ranges() failures

rcar_pcie_parse_request_of_pci_ranges() can fail and return an error
code, but this is not checked nor handled.

Fix this by adding the missing error handling.

Fixes: 5d2917d469faab72 ("PCI: rcar: Convert to DT resource parsing API")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
drivers/pci/host/pcie-rcar.c