From: Kay Sievers Date: Thu, 3 May 2012 00:29:59 +0000 (+0200) Subject: driver-core: extend dev_printk() to pass structured data X-Git-Tag: v3.5-rc1~147^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4e00daaa96d3a0786f1f4fe6456281c60ef9a16;p=pandora-kernel.git driver-core: extend dev_printk() to pass structured data Extends dev_printk() to attach a dictionary with a device identifier and the driver core subsystem name to logged messages, which makes dev_prink() reliable machine-readable. In addition to the printed plain text message, it creates these properties: SUBSYSTEM= - the driver-core subsytem name DEVICE= b12:8 - block dev_t c127:3 - char dev_t n8 - netdev ifindex +sound:card0 - subsystem:devname Tested-by: William Douglas Signed-off-by: Kay Sievers Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed