Re: Compilation warnings of kernel 2.6.24-rc2



On Thu, Nov 08, 2007 at 08:29:38AM +0100, Uwe Bugla wrote:
Hello everybody,

this is a list of compilation warnings produced during compilation of kernel
2.6.24-rc2. gcc is version is 4.2.2-3. Architecture is i386.
Distro is Debian Lenny / Sid.

4. drivers/pci/search.c: In function ‘pci_find_slot’:
drivers/pci/search.c:135: warning: ‘pci_find_device’ is deprecated (declared
at include/linux/pci.h:492)
drivers/pci/search.c: At top level:
drivers/pci/search.c:478: warning: ‘pci_find_device’ is deprecated (declared
at drivers/pci/search.c:283)
drivers/pci/search.c:478: warning: ‘pci_find_device’ is deprecated (declared
at drivers/pci/search.c:283)
drivers/pci/search.c:479: warning: ‘pci_find_slot’ is deprecated (declared at
drivers/pci/search.c:132)
drivers/pci/search.c:479: warning: ‘pci_find_slot’ is deprecated (declared at
drivers/pci/search.c:132)

These warnings can not go away until these functions can go away
entirely. Hopefully that will happen soon, but there are still drivers
using these old functions :(

thanks,

greg k-h
-
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/