LWN.net Logo

struct device

struct device

Posted Mar 25, 2011 0:02 UTC (Fri) by corbet (editor, #1)
In reply to: The dynamic debugging interface by giraffedata
Parent article: The dynamic debugging interface

dev_dbg() (dev_printk(), really) uses the device pointer to add the name of the actual device to the output. That way we get standardized device-related message formats with information that, hopefully, is useful to the system admin.


(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