Files
erofs-linux/include/asm-generic
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.

[[email protected]: warning fix]
[[email protected]: build fix]
Signed-off-by: Herbert Xu <[email protected]>
Cc: Ingo Molnar <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2006-09-29 09:18:06 -07:00
..
…
…
…
…
…
…
…
…
…
…
…
…
…
2006-06-24 14:44:01 -07:00
…
…
…
…
…
…
…