]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
Use WARN() in lib/
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)
commit5cd2b459d326a424671dcd95f038649f7bf7cb96
tree824514753e173bb69d3fde5fab18f8ddf909751d
parentf810a5cf28a818db96333cd23646f0227ec015b4
Use WARN() in lib/

Use WARN() instead of a printk+WARN_ON() pair; this way the message becomes
part of the warning section for better reporting/collection.  In addition, one
of the if() clauses collapes into the WARN() entirely now.

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/debugobjects.c
lib/iomap.c
lib/kobject_uevent.c
lib/plist.c