* Re: Compilation warnings of kernel 2.6.24-rc2
[not found] <200711080829.38340.uwe.bugla@gmx.de>
@ 2007-11-08 18:28 ` Greg KH
0 siblings, 0 replies; only message in thread
From: Greg KH @ 2007-11-08 18:28 UTC (permalink / raw)
To: Uwe Bugla; +Cc: torvalds, akpm, bunk, linux-kernel
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
^ permalink raw reply [flat|nested] only message in thread