mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-24 04:34:08 +08:00
9 lines
208 B
Makefile
9 lines
208 B
Makefile
|
# SPDX-License-Identifier: GPL-2.0
|
||
|
kmsan-cflags := -fsanitize=kernel-memory
|
||
|
|
||
|
ifdef CONFIG_KMSAN_CHECK_PARAM_RETVAL
|
||
|
kmsan-cflags += -fsanitize-memory-param-retval
|
||
|
endif
|
||
|
|
||
|
export CFLAGS_KMSAN := $(kmsan-cflags)
|