Re: [PATCH] powerpc/pseries: extract host bridge from pci_bus prior to bus removal

From
Tyrel Datwyler <tyreld@linux.ibm.com>
Date
2021-04-13 19:04:22
Also in
lkml
Reply to
Tyrel Datwyler, 2021-02-11
On 2/11/21 10:24 AM, 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().

Fixes: 7340056567e3 ("powerpc/pci: Reorder pci bus/bridge unregistration during PHB removal")
Signed-off-by: Tyrel Datwyler <tyreld@linux.ibm.com>
Ping?
Thread (5 messages) 5 messages, 3 authors, last reply 2021-04-19
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help