Re: [PATCH] PCI: Move device_del() from pci_stop_dev() to pci_destroy_dev()

From: Yinghai Lu
Date: Mon Nov 25 2013 - 14:45:55 EST


On Mon, Nov 25, 2013 at 3:22 AM, Rafael J. Wysocki <rjw@xxxxxxxxxxxxx> wrote:
>
> Well, is_removed is only used by pci_destroy_dev() in your patch, right?
>
> That means its only role is to protect the device from being destroyed
> twice (or more times) in a row, but that surely would be a bug? I don't
> see how that can legitimately happen at least, so what exactly is the
> scenario?

The thread:
https://patchwork.kernel.org/patch/3119001/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/