login
Header Space

 
 

Re: [PATCH] Fix compiler warnings for 2.6.23-rc8 on x86_64

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Maarten Bressers <mbres@...>
Cc: <linux-kernel@...>
Date: Friday, September 28, 2007 - 6:49 pm

On Fri, Sep 28, 2007 at 08:56:30PM +0000, Maarten Bressers wrote:

This is not a trivial patch, it changes the behavior of the code and is
buggy.

Please read the documentationfor pci_get_device() on how to use it
properly.  It can not be used in pci_find_slot() as the reference
counting will be all wrong.  You need to just work to get rid of
pci_find_slot() and then remove the whole function to get rid of the
warning :)


What about the modules that want to use these functions?  Are they all
now gone?  If so, just drop the whole function.

thanks,

greg k-h
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Fix compiler warnings for 2.6.23-rc8 on x86_64, Maarten Bressers, (Fri Sep 28, 4:56 pm)
Re: [PATCH] Fix compiler warnings for 2.6.23-rc8 on x86_64, Greg KH, (Fri Sep 28, 6:49 pm)
speck-geostationary