Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1589425 > unrolled thread

[PATCH 2/3] lib: add module support to array-based sort tests

Started byGeert Uytterhoeven <geert@linux-m68k.org>
First post2017-02-28 14:10 +0100
Last post2017-02-28 14:10 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 2/3] lib: add module support to array-based sort tests Geert Uytterhoeven <geert@linux-m68k.org> - 2017-02-28 14:10 +0100

#1589425 — [PATCH 2/3] lib: add module support to array-based sort tests

FromGeert Uytterhoeven <geert@linux-m68k.org>
Date2017-02-28 14:10 +0100
Subject[PATCH 2/3] lib: add module support to array-based sort tests
Message-ID<tfPHr-4Pz-5@gated-at.bofh.it>
Allow to compile the array-based sort test code either to a loadable
module, or builtin into the kernel.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
 lib/Kconfig.debug | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 55735c9bdb75a23e..90b2348777495b72 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -1740,10 +1740,11 @@ config TEST_LIST_SORT
 	  If unsure, say N.
 
 config TEST_SORT
-	bool "Array-based sort test"
-	depends on DEBUG_KERNEL
+	tristate "Array-based sort test"
+	depends on DEBUG_KERNEL || m
 	help
-	  This option enables the self-test function of 'sort()' at boot.
+	  This option enables the self-test function of 'sort()' at boot,
+	  or at module load time.
 
 	  If unsure, say N.
 
-- 
2.7.4

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web