]> err.no Git - linux-2.6/commit
Use WARN() in drivers/base/
authorArjan van de Ven <arjan@linux.intel.com>
Sat, 26 Jul 2008 02:45:39 +0000 (19:45 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 26 Jul 2008 19:00:07 +0000 (12:00 -0700)
commitf810a5cf28a818db96333cd23646f0227ec015b4
tree671eb15b7557d7cc68ebfb30df73ef666638bdcf
parent12e0036818eed243c8ed6583ebf98261a2554e12
Use WARN() in drivers/base/

Use WARN() instead of a printk+WARN_ON() pair; this way the message
becomes part of the warning section for better reporting/collection.

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Cc: Greg KH <greg@kroah.com>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/base/core.c
drivers/base/memory.c
drivers/base/sys.c