On Thu, 11 Feb 2021 12:24:35 -0600, Tyrel Datwyler wrote:
The pci_bus->bridge reference may no longer be valid after
pci_bus_remove() resulting in passing a bad value to device_unregister()
for the associated bridge device.
Store the host_bridge reference in a separate variable prior to
pci_bus_remove().
Applied to powerpc/next.
[1/1] powerpc/pseries: extract host bridge from pci_bus prior to bus removal
https://git.kernel.org/powerpc/c/38d0b1c9cec71e6d0f3bddef0bbce41d05a3e796
cheers