Re: [RFC] embedded struct device Re: [patch] IDE driver model update

From: Greg KH (greg@kroah.com)
Date: Tue Oct 08 2002 - 17:29:18 EST


On Tue, Oct 08, 2002 at 05:42:25PM -0400, Alexander Viro wrote:
>
> _IF_ the last two steps were done by ->release(), your arguments would
> work. Actually they are done by driver right after the put_device() call.

Yes, and that's wrong :(

> If you are willing to change that (== move all destruction into ->release()) -
> yeah, then embedded struct device will work. It's a hell of a work though.

It's not that much work, and I'll do it for USB, and for PCI, unless Pat
beats me to it.

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/



This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:28 EST