commit | 5cd2b459d326a424671dcd95f038649f7bf7cb96 | [log] [tgz] |
---|---|---|
author | Arjan van de Ven <arjan@linux.intel.com> | Fri Jul 25 19:45:39 2008 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Sat Jul 26 12:00:07 2008 -0700 |
tree | 824514753e173bb69d3fde5fab18f8ddf909751d | |
parent | f810a5cf28a818db96333cd23646f0227ec015b4 [diff] |
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>