Cc: Kay Sievers <kay.sievers@...>, Kernel development list <linux-kernel@...>, Jonathan Corbet <corbet@...>, Randy Dunlap <randy.dunlap@...>, Cornelia Huck <cornelia.huck@...>
On Wed, Nov 28, 2007 at 03:42:00PM -0500, Alan Stern wrote:
No, it's safe to set ktype after kobject_init, it was just not safe to
set the kset. As Kay pointed out, I just added a patch to my tree to
resolve this issue, and I'll go back and update the documentation now.
I do like the "check for a ktype" warning, I'll go add that to my local
tree and see what breaks. Odds are, all the static kobjects will :(
thanks,
greg k-h
-