Re: [RFC] PCI device list locking - take 3

Greg KH (greg@kroah.com)
Thu, 19 Jun 2003 12:14:24 -0700


On Thu, Jun 19, 2003 at 11:49:01AM -0700, Chris Wright wrote:
> * Greg KH (greg@kroah.com) wrote:
> > Here's the latest version of the pci list locking patch. I've taken
> > Chris's comments and addressed them by making sure we don't walk off the
> > end of a deleted device in the pci_find_* and pci_get_* functions.
>
> Looks good. Perhaps the pci_proc_detach should be earlier (i.e. before
> list removal) to reflect the order in which things are added. I'm not
> sure of the dependencies, but seems a good practice anyway.

Thanks, I'll go fix that one just to be safe.

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/