diff options
author | Thomas Gleixner <[email protected]> | 2017-03-16 22:50:04 +0100 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2017-06-28 22:32:55 +0200 |
commit | aae3e318d012e76211f34bb65754f3d4d2a8c93d (patch) | |
tree | 5a63d829abe948b1cdae7d62a2b0b5702ab0c363 /lib/netdev-notifier-error-inject.c | |
parent | 9304d1621e6019c63497f8a4aad09d003916dbe9 (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 <[email protected]>
Acked-by: Bjorn Helgaas <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions