summaryrefslogtreecommitdiffstats
path: root/drivers/base
diff options
context:
space:
mode:
authorArjan van de Ven <arjan@linux.intel.com>2008-09-21 04:08:39 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2008-10-16 18:24:50 +0200
commite61396627f91abb855ddd8925be9172fb5871944 (patch)
treec6a05c04a4ec4b8f554ff372f559316e92112244 /drivers/base
parentsysfs: fix deadlock (diff)
downloadlinux-e61396627f91abb855ddd8925be9172fb5871944.tar.xz
linux-e61396627f91abb855ddd8925be9172fb5871944.zip
debug: Introduce a dev_WARN() function
in the line of dev_printk(), this patch introduces a dev_WARN() function, that takes a struct device and then a printk format/args set of arguments. Unlike dev_printk(), the effect is that of WARN() in that a full warning message (including filename/line, module list, versions and a backtrace) is printed in addition to the device name and the arguments. Signed-off-by: Arjan van de Ven <arjan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/base')
0 files changed, 0 insertions, 0 deletions