linux/include/asm-powerpc
Herbert Xu 684f978347 [PATCH] Let WARN_ON/WARN_ON_ONCE return the condition
Letting WARN_ON/WARN_ON_ONCE return the condition means that you could do

if (WARN_ON(blah)) {
	handle_impossible_case
}

Rather than

if (unlikely(blah)) {
	WARN_ON(1)
	handle_impossible_case
}

I checked all the newly added WARN_ON_ONCE users and none of them test the
return status so we can still change it.

[akpm@osdl.org: warning fix]
[akpm@osdl.org: build fix]
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-09-29 09:18:06 -07:00
..
2006-01-09 14:49:54 +11:00
2005-09-28 15:42:53 +10:00
2006-09-20 14:06:18 +10:00
2006-08-08 17:07:04 +10:00
2006-02-15 15:32:22 -08:00
2006-06-30 18:20:44 +02:00
2006-09-14 07:07:18 +10:00
2006-06-15 19:31:26 +10:00
2006-07-03 15:27:00 -07:00
2006-08-24 10:07:23 +10:00
2006-09-26 08:48:51 -07:00
2006-06-30 18:20:44 +02:00
2006-07-07 20:19:15 +10:00
2006-09-20 15:09:48 +10:00
2005-10-31 13:37:12 +11:00
2005-11-03 16:24:25 +11:00
2006-06-29 16:58:06 -07:00
2005-11-03 16:02:23 +11:00
2006-03-25 09:41:40 -08:00
2006-06-21 15:01:32 +10:00
2006-08-25 14:56:07 +10:00
2006-04-29 18:07:54 +10:00
2005-11-01 14:36:55 +11:00
2005-11-03 16:59:17 +11:00