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) 9