On Thu, May 14, 2020 at 12:39 AM Rob Herring <robh@xxxxxxxxxx> wrote: > > If device_register() has an error, we should bail out of > pci_register_host_bridge() rather than continuing on. > > Fixes: 37d6a0a6f470 ("PCI: Add pci_register_host_bridge() interface") > Cc: Arnd Bergmann <arnd@xxxxxxxx> > Cc: Bjorn Helgaas <bhelgaas@xxxxxxxxxx> > Signed-off-by: Rob Herring <robh@xxxxxxxxxx> > --- Reviewed-by: Arnd Bergmann <arnd@xxxxxxxx>