Merge tag 'for-linus-6.1-ofs1' of git://git.kernel.org/pub/scm/linux/kernel/git/hubca...
[linux-2.6-block.git] / scripts / Makefile.kmsan
CommitLineData
f80be457
AP
1# SPDX-License-Identifier: GPL-2.0
2kmsan-cflags := -fsanitize=kernel-memory
3
4ifdef CONFIG_KMSAN_CHECK_PARAM_RETVAL
5kmsan-cflags += -fsanitize-memory-param-retval
6endif
7
8export CFLAGS_KMSAN := $(kmsan-cflags)