Skip to contentSkip to conversation

Compilation warnings of kernel 2.6.24-rc2

DISCUSSION Greg KH 1 participant 1 message Nov 8, 2007 1 message not in the archive

lore
Share & tools
lore

Greg KH

author
#1 lore raw
In reply to a message not in the archive
Quoted 6 lines · Uwe Bugla

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.

Quoted 12 lines

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