summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorArjan van de Ven <arjan@linux.intel.com>2008-07-25 10:45:53 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-25 19:53:29 +0200
commita8f18b909c0a3f22630846207035c8b84bb252b8 (patch)
tree72a2dee787b9d077cc24f5cf7392b071401506ec /scripts
parentRename WARN() to WARNING() to clear the namespace (diff)
downloadlinux-a8f18b909c0a3f22630846207035c8b84bb252b8.tar.xz
linux-a8f18b909c0a3f22630846207035c8b84bb252b8.zip
Add a WARN() macro; this is WARN_ON() + printk arguments
Add a WARN() macro that acts like WARN_ON(), with the added feature that it takes a printk like argument that is printed as part of the warning message. [akpm@linux-foundation.org: fix printk arguments] [akpm@linux-foundation.org: coding-style fixes] Signed-off-by: Arjan van de Ven <arjan@linux.intel.com> Cc: Greg KH <greg@kroah.com> Cc: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions