]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit903c0c7cdc21f2ccb7562a7bbc70289c0c2b16ad
tree66920b370d8fb301f4a203c66f9d397943f6dddd
parentd2b463135f84d15808163cd15638b108e323d3e7
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