Re: [PATCH v2] PCI: hv: Fix panic by calling hv_pci_remove_slots() earlier

From: Lorenzo Pieralisi
Date: Mon Aug 12 2019 - 09:06:14 EST


On Tue, Aug 06, 2019 at 08:41:17PM +0000, Dexuan Cui wrote:
> > From: linux-hyperv-owner@xxxxxxxxxxxxxxx
> > <linux-hyperv-owner@xxxxxxxxxxxxxxx> On Behalf Of Bjorn Helgaas
> > Sent: Tuesday, August 6, 2019 1:16 PM
> > To: Dexuan Cui <decui@xxxxxxxxxxxxx>
> >
> > Thanks for updating this. But you didn't update the subject line,
> > which is really still a little too low-level. Maybe Lorenzo will fix
> > this. Something like this, maybe?
> >
> > PCI: hv: Avoid use of hv_pci_dev->pci_slot after freeing it
>
> This is better. Thanks!
>
> I hope Lorenzo can help to fix this so I could avoid a v3. :-)

You should have fixed it yourself, this time I will.

Thanks,
Lorenzo