Re: VIA IRQ quirk missing PCI ids since 2.6.16.17

Sergey Vlasov
2006-11-08T20:33:30Z

[-- Attachment #1: Type: text/plain, Size: 486 bytes --]

On Wed, Nov 08, 2006 at 06:05:30PM +0000, Alan Cox wrote:
> > > +struct pci_device_id *pci_find_present(const struct pci_device_id *ids)
> >
> > New API without proper refcounting? Ewww.
>
> pci_device_id objects are not refcounted and don't vanish underneath us.
> Devices may but we aren't dealing in devices. The function operates
> under the list lock internally so should be safe.

Oops, sorry, did not read the patch carefully enough... Please ignore
this comment.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]