kcsan: Add Kernel Concurrency Sanitizer infrastructure
[linux-block.git] / lib / Makefile
index c5892807e06fa2c940103947d9272c66bcb4982d..778ab704e3ad5cf393960f723386a55f1aee8c1f 100644 (file)
@@ -24,6 +24,9 @@ KASAN_SANITIZE_string.o := n
 CFLAGS_string.o := $(call cc-option, -fno-stack-protector)
 endif
 
+# Used by KCSAN while enabled, avoid recursion.
+KCSAN_SANITIZE_random32.o := n
+
 lib-y := ctype.o string.o vsprintf.o cmdline.o \
         rbtree.o radix-tree.o timerqueue.o xarray.o \
         idr.o extable.o \