diff options
author | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2015-07-29 12:33:17 +0100 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2015-08-20 12:02:49 -0500 |
commit | ada8b675b76ec847bfa4a237d82a7a96da128768 (patch) | |
tree | a6913f510745066019619bcd2b5a835598817933 /drivers/pci | |
parent | aa4a5c0d2d7e3c30f9df033ea0367f148bb369f6 (diff) |
ARM/PCI: Replace panic with WARN messages on failures
In the ARM PCI bios32 layer, failures to dynamically allocate pci_sys_data
for a PCI bus, or a PCI bus scan failure have to be considered serious
warnings but they should not trigger a system panic so that at least the
system is given a chance to be debugged.
This patch replaces the panic statements with WARN() messages to improve
error reporting in the ARM PCI bios32 layer.
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Jingoo Han <jingoohan1@gmail.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
CC: Russell King <linux@arm.linux.org.uk>
CC: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'drivers/pci')
0 files changed, 0 insertions, 0 deletions