diff options
author | Arjan van de Ven <arjan@linux.intel.com> | 2008-07-25 19:45:39 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-26 12:00:07 -0700 |
commit | 5cd2b459d326a424671dcd95f038649f7bf7cb96 (patch) | |
tree | 824514753e173bb69d3fde5fab18f8ddf909751d /arch | |
parent | f810a5cf28a818db96333cd23646f0227ec015b4 (diff) | |
download | op-kernel-dev-5cd2b459d326a424671dcd95f038649f7bf7cb96.zip op-kernel-dev-5cd2b459d326a424671dcd95f038649f7bf7cb96.tar.gz |
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>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions