Re: [PATCHv6 2/7] pci: child bus alloc fix on constrained resource

2015-12-17 Thread Keith Busch
On Thu, Dec 17, 2015 at 11:27:18AM -0600, Bjorn Helgaas wrote: > On Mon, Dec 07, 2015 at 02:32:24PM -0700, Keith Busch wrote: > > + if (busnr > parent->busn_res.end) { > > + dev_printk(KERN_DEBUG, >dev, > > + "can not alloc bus:%d under %pR\n", busnr, > > +

Re: [PATCHv6 2/7] pci: child bus alloc fix on constrained resource

2015-12-17 Thread Bjorn Helgaas
On Mon, Dec 07, 2015 at 02:32:24PM -0700, Keith Busch wrote: > Does not allocate a child bus if the new bus number does not fit in the > parent's bus resource window. > > Signed-off-by: Keith Busch Other nits: please make this similar to previous changelogs in capitalization, sentence

Re: [PATCHv6 2/7] pci: child bus alloc fix on constrained resource

2015-12-17 Thread Bjorn Helgaas
Hi Keith, On Mon, Dec 07, 2015 at 02:32:24PM -0700, Keith Busch wrote: > Does not allocate a child bus if the new bus number does not fit in the > parent's bus resource window. > > Signed-off-by: Keith Busch > --- > drivers/pci/probe.c | 6 ++ > 1 file changed, 6 insertions(+) > > diff

Re: [PATCHv6 2/7] pci: child bus alloc fix on constrained resource

2015-12-17 Thread Bjorn Helgaas
Hi Keith, On Mon, Dec 07, 2015 at 02:32:24PM -0700, Keith Busch wrote: > Does not allocate a child bus if the new bus number does not fit in the > parent's bus resource window. > > Signed-off-by: Keith Busch > --- > drivers/pci/probe.c | 6 ++ > 1 file changed, 6

Re: [PATCHv6 2/7] pci: child bus alloc fix on constrained resource

2015-12-17 Thread Bjorn Helgaas
On Mon, Dec 07, 2015 at 02:32:24PM -0700, Keith Busch wrote: > Does not allocate a child bus if the new bus number does not fit in the > parent's bus resource window. > > Signed-off-by: Keith Busch Other nits: please make this similar to previous changelogs in

Re: [PATCHv6 2/7] pci: child bus alloc fix on constrained resource

2015-12-17 Thread Keith Busch
On Thu, Dec 17, 2015 at 11:27:18AM -0600, Bjorn Helgaas wrote: > On Mon, Dec 07, 2015 at 02:32:24PM -0700, Keith Busch wrote: > > + if (busnr > parent->busn_res.end) { > > + dev_printk(KERN_DEBUG, >dev, > > + "can not alloc bus:%d under %pR\n", busnr, > > +

[PATCHv6 2/7] pci: child bus alloc fix on constrained resource

2015-12-07 Thread Keith Busch
Does not allocate a child bus if the new bus number does not fit in the parent's bus resource window. Signed-off-by: Keith Busch --- drivers/pci/probe.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index edb1984..6e29f7a 100644 ---

[PATCHv6 2/7] pci: child bus alloc fix on constrained resource

2015-12-07 Thread Keith Busch
Does not allocate a child bus if the new bus number does not fit in the parent's bus resource window. Signed-off-by: Keith Busch --- drivers/pci/probe.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index