summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2017-03-16 22:50:04 +0100
committerThomas Gleixner <tglx@linutronix.de>2017-06-28 22:32:55 +0200
commitaae3e318d012e76211f34bb65754f3d4d2a8c93d (patch)
tree5a63d829abe948b1cdae7d62a2b0b5702ab0c363 /scripts
parent9304d1621e6019c63497f8a4aad09d003916dbe9 (diff)
x86/PCI: Abort if legacy init fails
If the legacy PCI init fails, then there are no PCI config space accesors available, but the code continues and tries to scan the busses, which fails due to the lack of config space accessors. Return right away, if the last init fallback fails. Switch the few printks to pr_info while at it. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Bjorn Helgaas <helgaas@kernel.org> Cc: Andi Kleen <ak@linux.intel.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Cc: Borislav Petkov <bp@alien8.de> Cc: linux-pci@vger.kernel.org Link: http://lkml.kernel.org/r/20170316215057.047576516@linutronix.de Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions