Re: [PATCH] PCI: Remove usage of pci_domain_nr when the PCI bus doesn't yet exist

2016-02-25 Thread Bjorn Helgaas
On Wed, Feb 24, 2016 at 06:56:36PM +, ja...@microsoft.com wrote: > From: Jake Oshins > > This patch fixes a race condition in this driver. Using the > function pci_domain_nr() only works if the PCI bus has already > been fully created. This patch just deletes one call site, > as it was in d

[PATCH] PCI: Remove usage of pci_domain_nr when the PCI bus doesn't yet exist

2016-02-24 Thread jakeo
From: Jake Oshins This patch fixes a race condition in this driver. Using the function pci_domain_nr() only works if the PCI bus has already been fully created. This patch just deletes one call site, as it was in debug prints which aren't strictly necessary. Another call site is changed to look