|
Initializing a kobjectInitializing a kobjectPosted Oct 2, 2003 17:56 UTC (Thu) by gregkh (subscriber, #8)Parent article: The zen of kobjects
One minor addition, all fields in a struct kobject must be initialized to zero before calling kobject_init(). If this is not true, bad things can happen when kobject_init() is called.
(Log in to post comments)
|
Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds
Powered by Rackspace Managed Hosting.