PCI: Don't print anything while decoding is disabled
authorBjorn Helgaas <bhelgaas@google.com>
Mon, 14 Apr 2014 21:26:50 +0000 (15:26 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 23 May 2014 16:47:20 +0000 (10:47 -0600)
commit26370fc6647b63eefb85a675382d661d0fed30a1
treeff504a0d7bcca78b3250dc6652ff16ce80e190d1
parent31e9dd2565a6e27a3e698d7e3adf929db8d6c767
PCI: Don't print anything while decoding is disabled

If the console is a PCI device, and we try to print to it while its
decoding is disabled, the system will hang.  This particular printk hasn't
caused a problem yet, but it could, so this fixes it.

See also 0ff9514b579b ("PCI: Don't print anything while decoding is
disabled").

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/probe.c