VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Zhen Lei <thunder.leizhen@huawei.com> 2021-05-22 17:42:08 -0700 committer: Linus Torvalds <torvalds@linux-foundation.org> 2021-05-22 15:09:07 -1000 commit: 1b6d63938a9d868df01d5bc6e2da212133121b8d parent: 43b2ec977ce33b53e2be30999824b584e2be248a
Commit Summary:
lib: kunit: suppress a compilation warning of frame size
Diffstat:
1 file changed, 1 insertion, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile
index e11cfc18b6c0..2cc359ec1fdd 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -348,6 +348,7 @@ obj-$(CONFIG_OBJAGG) += objagg.o
 obj-$(CONFIG_PLDMFW) += pldmfw/
 
 # KUnit tests
+CFLAGS_bitfield_kunit.o := $(call cc-option,-Wframe-larger-than=10240)
 obj-$(CONFIG_BITFIELD_KUNIT) += bitfield_kunit.o
 obj-$(CONFIG_LIST_KUNIT_TEST) += list-test.o
 obj-$(CONFIG_LINEAR_RANGES_TEST) += test_linear_ranges.o