[PATCH v3 2/2] random32: Re-enable KCSAN instrumentation

From: Marco Elver
Date: Tue Nov 24 2020 - 06:02:45 EST


Re-enable KCSAN instrumentation, now that KCSAN no longer relies on code
in lib/random32.c.

Signed-off-by: Marco Elver <elver@xxxxxxxxxx>
---
v3:
* Add patch to series, since KCSAN no longer needs lib/random32.c.
---
lib/Makefile | 3 ---
1 file changed, 3 deletions(-)

diff --git a/lib/Makefile b/lib/Makefile
index ce45af50983a..301020c49533 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -27,9 +27,6 @@ KASAN_SANITIZE_string.o := n
CFLAGS_string.o += -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 sha1.o irq_regs.o argv_split.o \
--
2.29.2.454.gaff20da3a2-goog