Messages in this thread | | | Date | Wed, 29 Oct 2003 14:59:22 -0800 | From | Greg KH <> | Subject | Re: Missing kobject release methods? |
| |
On Mon, Oct 27, 2003 at 11:31:44AM -0500, Alan Stern wrote: > Greg: > > For a long time, I've been getting debug warnings about missing release() > methods in various kobjects. They come up because your usb-2.5 tree has > DEBUG defined in a number of driver-model source files.
And because I have a "test for .release in a kobject" patch in my tree to help me debug. That's what you are seeing.
> It's not easy to track down exactly what the objects in question are;
Don't worry about these, they are all for things that are only directories, and don't have release functions because they do not need to at this time. Pat is aware of these and someday we will divorce kobjects from beeing needed just to create a subdirectory in sysfs.
These false warnings are the reason that patch never made it into the main kernel tree, unlike the other .release checks in the driver model code.
You can just disable that change in your copy of my tree if it's really annoying you :)
thanks,
greg k-h - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |