]> git.baikalelectronics.ru Git - kernel.git/commit
sparse: define dummy BUILD_BUG_ON definition for sparse
authorKOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Wed, 25 May 2011 00:13:16 +0000 (17:13 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 25 May 2011 15:39:46 +0000 (08:39 -0700)
commit15ee80e909b7d1dcdf125d520101a5a9ea261341
tree66920b370d8fb301f4a203c66f9d397943f6dddd
parent5f43c9bcd75c89fb1370eb05cf5bc8b0a01a2ab4
sparse: define dummy BUILD_BUG_ON definition for sparse

BUILD_BUG_ON() causes a syntax error to detect coding errors.  So it
causes sparse to detect an error too.  This reduces sparse's usefulness.

This patch makes a dummy BUILD_BUG_ON() definition for sparse.

Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Dave Hansen <dave@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/kernel.h