From: Marco Elver Date: Tue, 16 Jun 2020 12:36:23 +0000 (+0200) Subject: kcsan: Rename test.c to selftest.c X-Git-Tag: v5.10.7~2013^2~2^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=acfa087ccf2d2eff46186477f53e4c3ffbdb033d;p=platform%2Fkernel%2Flinux-rpi.git kcsan: Rename test.c to selftest.c Rename 'test.c' to 'selftest.c' to better reflect its purpose (Kconfig variable and code inside already match this). This is to avoid confusion with the test suite module in 'kcsan-test.c'. No functional change. Signed-off-by: Marco Elver Signed-off-by: Paul E. McKenney --- diff --git a/kernel/kcsan/Makefile b/kernel/kcsan/Makefile index 14533cf..092ce58 100644 --- a/kernel/kcsan/Makefile +++ b/kernel/kcsan/Makefile @@ -11,7 +11,7 @@ CFLAGS_core.o := $(call cc-option,-fno-conserve-stack,) \ $(call cc-option,-fno-stack-protector,) obj-y := core.o debugfs.o report.o -obj-$(CONFIG_KCSAN_SELFTEST) += test.o +obj-$(CONFIG_KCSAN_SELFTEST) += selftest.o CFLAGS_kcsan-test.o := $(CFLAGS_KCSAN) -g -fno-omit-frame-pointer obj-$(CONFIG_KCSAN_TEST) += kcsan-test.o diff --git a/kernel/kcsan/test.c b/kernel/kcsan/selftest.c similarity index 100% rename from kernel/kcsan/test.c rename to kernel/kcsan/selftest.c