BUILD_BUG_ON_ZERO: fix sparse breakage
authorDr. David Alan Gilbert <linux@treblig.org>
Wed, 15 Jun 2011 22:08:27 +0000 (15:08 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 16 Jun 2011 03:04:00 +0000 (20:04 -0700)
commitca39599c633fb02aceac31a7e67563612e4fe347
tree03652bd70063ec578b6b59cce14614a282e3d93e
parent3957c7768e5ea02fd3345176ddd340f820e5d285
BUILD_BUG_ON_ZERO: fix sparse breakage

BUILD_BUG_ON_ZERO and BUILD_BUG_ON_NULL must return values, even in the
CHECKER case otherwise various users of it become syntactically invalid.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/kernel.h