[tip: locking/core] random32: Re-enable KCSAN instrumentation

From: tip-bot2 for Marco Elver
Date: Mon Feb 15 2021 - 10:11:49 EST


The following commit has been merged into the locking/core branch of tip:

Commit-ID: 567a83e6872c15b2080d1d03de71868cd0ae7cea
Gitweb: https://git.kernel.org/tip/567a83e6872c15b2080d1d03de71868cd0ae7cea
Author: Marco Elver <elver@xxxxxxxxxx>
AuthorDate: Tue, 24 Nov 2020 12:02:10 +01:00
Committer: Paul E. McKenney <paulmck@xxxxxxxxxx>
CommitterDate: Mon, 04 Jan 2021 14:39:07 -08:00

random32: Re-enable KCSAN instrumentation

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

Signed-off-by: Marco Elver <elver@xxxxxxxxxx>
Signed-off-by: Paul E. McKenney <paulmck@xxxxxxxxxx>
---
lib/Makefile | 3 ---
1 file changed, 3 deletions(-)

diff --git a/lib/Makefile b/lib/Makefile
index afeff05..dc09208 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 \