From: Bjorn Helgaas Date: Thu, 24 Oct 2013 21:42:33 +0000 (-0600) Subject: device: Make dev_WARN/dev_WARN_ONCE print device as well as driver name X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~64^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3eae13671716492f3bcde270115407185e9c69fd;p=pandora-kernel.git device: Make dev_WARN/dev_WARN_ONCE print device as well as driver name dev_WARN() and dev_WARN_ONCE() are annoying because (1) they include only the driver name, not the device name, and (2) they print a spurious newline in the middle. This results in messages like this that are less useful than they should be: [ 40.094995] Device pcieport disabling already-disabled device This patch makes them work more like dev_printk(). Signed-off-by: Bjorn Helgaas Reviewed-by: Felipe Balbi Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed