summaryrefslogtreecommitdiffstats
path: root/kernel/kcsan/Makefile
diff options
context:
space:
mode:
authorMarco Elver <elver@google.com>2019-11-19 19:57:42 +0100
committerPaul E. McKenney <paulmck@kernel.org>2020-01-07 07:47:23 -0800
commitd47715f50e833f12c5e829ce9dcc4a65104fa74f (patch)
tree847891d16f42b0ee9839cccc54143e27dd0a65ec /kernel/kcsan/Makefile
parent5cbaefe9743bf14c9d3106db0cc19f8cb0a3ca22 (diff)
downloadlinux-d47715f50e833f12c5e829ce9dcc4a65104fa74f.tar.bz2
kcsan, ubsan: Make KCSAN+UBSAN work together
Context: http://lkml.kernel.org/r/fb7e25d8-aba4-3dcf-7761-cb7ecb3ebb71@infradead.org Reported-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Marco Elver <elver@google.com> Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'kernel/kcsan/Makefile')
-rw-r--r--kernel/kcsan/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/kcsan/Makefile b/kernel/kcsan/Makefile
index dd15b62ec0b5..df6b7799e492 100644
--- a/kernel/kcsan/Makefile
+++ b/kernel/kcsan/Makefile
@@ -1,6 +1,7 @@
# SPDX-License-Identifier: GPL-2.0
KCSAN_SANITIZE := n
KCOV_INSTRUMENT := n
+UBSAN_SANITIZE := n
CFLAGS_REMOVE_core.o = $(CC_FLAGS_FTRACE)