summaryrefslogtreecommitdiffstats
path: root/ipc/sem.c
diff options
context:
space:
mode:
authorAndrey Ryabinin2016-03-22 22:27:45 +0100
committerLinus Torvalds2016-03-22 23:36:02 +0100
commitdde5cf39d4d2cce71f2997c37210dd624d0e4bf6 (patch)
treef6c7658913755d6d7f06be34057c2882e6b83e21 /ipc/sem.c
parentkfifo: fix sparse complaints (diff)
downloadkernel-qcow2-linux-dde5cf39d4d2cce71f2997c37210dd624d0e4bf6.tar.gz
kernel-qcow2-linux-dde5cf39d4d2cce71f2997c37210dd624d0e4bf6.tar.xz
kernel-qcow2-linux-dde5cf39d4d2cce71f2997c37210dd624d0e4bf6.zip
ubsan: fix tree-wide -Wmaybe-uninitialized false positives
-fsanitize=* options makes GCC less smart than usual and increase number of 'maybe-uninitialized' false-positives. So this patch does two things: * Add -Wno-maybe-uninitialized to CFLAGS_UBSAN which will disable all such warnings for instrumented files. * Remove CONFIG_UBSAN_SANITIZE_ALL from all[yes|mod]config builds. So the all[yes|mod]config build goes without -fsanitize=* and still with -Wmaybe-uninitialized. Signed-off-by: Andrey Ryabinin <aryabinin@virtuozzo.com> Reported-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'ipc/sem.c')
0 files changed, 0 insertions, 0 deletions