Re: Replacement for pci_for_each_dev()?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hello greg,

On Mon, 23 Aug 2004, Greg KH wrote:

> On Mon, Aug 23, 2004 at 10:04:23AM -0500, Timur Tabi wrote:
> > Greg KH wrote:
> > 
> > >>pci_for_each_dev()              Superseded by pci_find_device()
> > >
> > >No!  Use pci_get_device(), pci_find_device() is about to be deleted.
> > 
> > Looking at pci.txt, it appears that if I use pci_get_device(), I will 
> > also need to use pci_dev_put().
> 
> That is correct.

~/src/linux-2.6.8$ egrep -r 'pci_find_device' drivers/ | wc -l
195

i saw this in your weblog, 
could we add this item to the kernel janitor todo list?
have you any further info or pointer to help any takers?
like a patch you already submitted?

adding kj on cc, thanks


--
maks
kernel janitor  	http://janitor.kernelnewbies.org/


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux