VisionFive2 Linux kernel

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

More than 9999 Commits   33 Branches   57 Tags
author: Jesse Brandeburg <jesse.brandeburg@intel.com> 2020-06-04 16:50:27 -0700 committer: Linus Torvalds <torvalds@linux-foundation.org> 2020-06-04 19:06:25 -0700 commit: c348c16305280fe3e6c1186378f96c8634c149f9 parent: 63d7f8167fe65891617d5eca6314eca46029955c
Commit Summary:
lib: make a test module with set/clear bit
Diffstat:
1 file changed, 2 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 5adf8949a757..32f19b4d1d2a 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -56,6 +56,8 @@ obj-y += kstrtox.o
 obj-$(CONFIG_FIND_BIT_BENCHMARK) += find_bit_benchmark.o
 obj-$(CONFIG_TEST_BPF) += test_bpf.o
 obj-$(CONFIG_TEST_FIRMWARE) += test_firmware.o
+obj-$(CONFIG_TEST_BITOPS) += test_bitops.o
+CFLAGS_test_bitops.o += -Werror
 obj-$(CONFIG_TEST_SYSCTL) += test_sysctl.o
 obj-$(CONFIG_TEST_HASH) += test_hash.o test_siphash.o
 obj-$(CONFIG_TEST_IDA) += test_ida.o