LWN.net Logo

An updated guide to debugfs

An updated guide to debugfs

Posted May 29, 2009 4:35 UTC (Fri) by vomlehn (subscriber, #45588)
Parent article: An updated guide to debugfs

It might be worth noting that the return value from debugfs_create_dir indicates success only if it not NULL and IS_ERR() returns zero. If IS_ERR() returns a non-zero value, PTR_ERR() should be used to get the return code.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds