[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e36a28a8-12ff-5816-bf90-87fab97933ad@linux.ibm.com>
Date: Tue, 13 Apr 2021 12:04:04 -0700
From: Tyrel Datwyler <tyreld@...ux.ibm.com>
To: mpe@...erman.id.au
Cc: benh@...nel.crashing.org, linuxppc-dev@...ts.ozlabs.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] powerpc/pseries: extract host bridge from pci_bus prior
to bus removal
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@...ux.ibm.com>
Ping?
Powered by blists - more mailing lists