Skip to contentSkip to conversation

kernel-kcsan-kcsan_test-build-without-structleak-plugin.patch removed from -mm tree

merged mm-nonmm-stable Andrew Morton 1 participant 1 message Dec 12, 2022

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: kernel: kcsan: kcsan_test: build without structleak plugin
has been removed from the -mm tree. Its filename was
kernel-kcsan-kcsan_test-build-without-structleak-plugin.patch

This patch was dropped because it was merged into the mm-nonmm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Anders Roxell <[email protected]>
Subject: kernel: kcsan: kcsan_test: build without structleak plugin
Date: Mon, 28 Nov 2022 11:43:58 +0100

Building kcsan_test with structleak plugin enabled makes the stack frame size to grow.

kernel/kcsan/kcsan_test.c:704:1: error: the frame size of 3296 bytes is larger than 2048 bytes [-Werror=frame-larger-than=]

Turn off the structleak plugin checks for kcsan_test.

---

 kernel/kcsan/Makefile |    1 +
 1 file changed, 1 insertion(+)
kernel/kcsan/Makefile renamed from kernel/kcsan/Makefile~kernel-kcsan-kcsan_test-build-without-structleak-plugin +1 -0
@@ -17,4 +17,5 @@ KCSAN_INSTRUMENT_BARRIERS_selftest.o :=
 obj-$(CONFIG_KCSAN_SELFTEST) += selftest.o
 
 CFLAGS_kcsan_test.o := $(CFLAGS_KCSAN) -g -fno-omit-frame-pointer
+CFLAGS_kcsan_test.o += $(DISABLE_STRUCTLEAK_PLUGIN)
 obj-$(CONFIG_KCSAN_KUNIT_TEST) += kcsan_test.o

_

Patches currently in -mm which might be from [email protected] are