summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorTushar Behera <tushar.behera@linaro.org>2012-11-27 01:29:38 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2012-11-27 02:41:24 +0100
commitc5782e9f5a535af09d7834693a52afdbcc6e5f3f (patch)
tree65106696b963ca239872440c2340f3b9ba0988ab /scripts
parentLinux 3.7-rc7 (diff)
downloadlinux-c5782e9f5a535af09d7834693a52afdbcc6e5f3f.tar.xz
linux-c5782e9f5a535af09d7834693a52afdbcc6e5f3f.zip
include/linux/bug.h: fix sparse warning related to BUILD_BUG_ON_INVALID
Commit baf05aa9271b ("bug: introduce BUILD_BUG_ON_INVALID() macro") introduces this macro only when _CHECKER_ is not defined. Define a silent macro in the else condition to fix following sparse warning: mm/filemap.c:395:9: error: undefined identifier 'BUILD_BUG_ON_INVALID' mm/filemap.c:396:9: error: undefined identifier 'BUILD_BUG_ON_INVALID' mm/filemap.c:397:9: error: undefined identifier 'BUILD_BUG_ON_INVALID' include/linux/mm.h:419:9: error: undefined identifier 'BUILD_BUG_ON_INVALID' include/linux/mm.h:419:9: error: not a function <noident> Signed-off-by: Tushar Behera <tushar.behera@linaro.org> Acked-by: Konstantin Khlebnikov <khlebnikov@openvz.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions