Re: [PATCH 1/2] PCI: Fix pci_register_host_bridge() device_register() error handling

Arnd Bergmann
2020-05-14T21:16:57Z

On Thu, May 14, 2020 at 12:39 AM Rob Herring <robh@kernel.org> 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@arndb.de>
> Cc: Bjorn Helgaas <bhelgaas@google.com>
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---

Reviewed-by: Arnd Bergmann <arnd@arndb.de>