From: Arjan van de Ven Date: Sat, 26 Jul 2008 02:45:39 +0000 (-0700) Subject: Use WARN() in lib/ X-Git-Tag: v2.6.27-rc1~146 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5cd2b459d326a424671dcd95f038649f7bf7cb96;p=pandora-kernel.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed