Posted Mar 24, 2011 23:21 UTC (Thu) by gregkh (subscriber, #8)
[Link]
It's the pointer to the 'struct device' that this message corresponds to.
The dynamic debugging interface
Posted Mar 24, 2011 23:34 UTC (Thu) by giraffedata (subscriber, #1954)
[Link]
OK, and what if anything does that affect practically? Message content? Filtering?
struct device
Posted Mar 25, 2011 0:02 UTC (Fri) by corbet (editor, #1)
[Link]
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.