Skip to contentSkip to conversation

lib-add-module-support-to-linked-list-sorting-tests.patch removed from -mm tree

merged [email protected] 1 participant 1 message May 9, 2017

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: lib: add module support to linked list sorting tests
has been removed from the -mm tree. Its filename was
lib-add-module-support-to-linked-list-sorting-tests.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Geert Uytterhoeven <[email protected]>
Subject: lib: add module support to linked list sorting tests

Extract the linked list sorting test code into its own source file, to allow to compile it either to a loadable module, or builtin into the kernel.

---

 lib/Kconfig.debug    |    7 +
 lib/Makefile         |    1 
 lib/list_sort.c      |  149 ----------------------------------------
 lib/test_list_sort.c |  150 +++++++++++++++++++++++++++++++++++++++++
 4 files changed, 155 insertions(+), 152 deletions(-)
lib/Kconfig.debug renamed from lib/Kconfig.debug~lib-add-module-support-to-linked-list-sorting-tests +4 -3
diff -puN lib/Kconfig.debug~lib-add-module-support-to-linked-list-sorting-tests lib/Kconfig.debug
@@ -1719,11 +1719,12 @@ config LKDTM
 	Documentation/fault-injection/provoke-crashes.txt
 
 config TEST_LIST_SORT
-	bool "Linked list sorting test"
-	depends on DEBUG_KERNEL
+	tristate "Linked list sorting test"
+	depends on DEBUG_KERNEL || m
 	help
 	  Enable this to turn on 'list_sort()' function test. This test is
-	  executed only once during system boot, so affects only boot time.
+	  executed only once during system boot (so affects only boot time),
+	  or at module load time.
 
 	  If unsure, say N.
 
lib/Makefile renamed from lib/Makefile~lib-add-module-support-to-linked-list-sorting-tests +1 -0
diff -puN lib/Makefile~lib-add-module-support-to-linked-list-sorting-tests lib/Makefile
@@ -52,6 +52,7 @@ obj-$(CONFIG_TEST_FIRMWARE) += test_firm
 obj-$(CONFIG_TEST_HASH) += test_hash.o test_siphash.o
 obj-$(CONFIG_TEST_KASAN) += test_kasan.o
 obj-$(CONFIG_TEST_KSTRTOX) += test-kstrtox.o
+obj-$(CONFIG_TEST_LIST_SORT) += test_list_sort.o
 obj-$(CONFIG_TEST_LKM) += test_module.o
 obj-$(CONFIG_TEST_RHASHTABLE) += test_rhashtable.o
 obj-$(CONFIG_TEST_SORT) += test_sort.o
lib/list_sort.c renamed from lib/list_sort.c~lib-add-module-support-to-linked-list-sorting-tests +0 -149

155 lines not on this page · raw message

lib/test_list_sort.c new file +150 -0

150 lines not on this page · raw message

_

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