Skip to contentSkip to conversation

lib: Remove string from parman config selection

PATCH Applied Jiri Pirko 3 participants 6 messages Feb 23, 2017 – Feb 24, 2017

Subsystems (3)
lore
Share & tools
lore

Jiri Pirko

author
#0 lore raw

PATCH 1/1 lib: Remove string from parman config selection

From: Jiri Pirko <[email protected]>

As reported by Geert, remove the string so the user does not see this config option. The option is explicitly selected only as a dependency of in-kernel users.

Fixes 44091d29f207 ("lib: Introduce priority array area manager")
---
 lib/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/Kconfig +1 -1
index 5d644f1..f355260 100644
@@ -551,6 +551,6 @@ config SBITMAP
 	bool
 
 config PARMAN
-	tristate "parman"
+	tristate
 
 endmenu
Signature · 1 line
2.7.4
Tested-by on v1 1/1
#1 lore raw

Hi Jiri,

Quoted 5 lines · Jiri Pirko

From: Jiri Pirko <[email protected]>

As reported by Geert, remove the string so the user does not see this config option. The option is explicitly selected only as a dependency of in-kernel users.

Thanks!

Quoted 3 lines
Fixes 44091d29f207 ("lib: Introduce priority array area manager")

Gr{oetje,eeting}s,

Geert

maintainer Applied
#2 lore raw
In reply to Jiri Pirko

From: Jiri Pirko <[email protected]>
Date: Thu, 23 Feb 2017 10:57:45 +0100

Quoted 9 lines

From: Jiri Pirko <[email protected]>

As reported by Geert, remove the string so the user does not see this config option. The option is explicitly selected only as a dependency of in-kernel users.

Fixes 44091d29f207 ("lib: Introduce priority array area manager")

Applied.

#3 lore raw
In reply to Jiri Pirko

Hi Jiri,

Quoted 18 lines · Jiri Pirko

From: Jiri Pirko <[email protected]>

As reported by Geert, remove the string so the user does not see this config option. The option is explicitly selected only as a dependency of in-kernel users.

Fixes 44091d29f207 ("lib: Introduce priority array area manager")
---
 lib/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/Kconfig +0 -0
index 5d644f1..f355260 100644

lib/Kconfig config SBITMAP · line 554

Quoted 5 lines
lib/Kconfig +1 -1
@@ -551,6 +551,6 @@ config SBITMAP
        bool
 
 config PARMAN
-       tristate "parman"
+       tristate

Upon second thought

tristate "parman" if COMPILE_TEST

might be better, as it allows to enable and run the accompanying test without dependencies.

Gr{oetje,eeting}s,

Geert

#5 lore raw
In reply to Jiri Pirko

Hi Jiri,

Quoted 28 lines · Jiri Pirko
Quoted 27 lines · Fri, Feb 24, 2017 at 08:54:04AM CET, [email protected] wrote:
Quoted 18 lines · Jiri Pirko

From: Jiri Pirko <[email protected]>

As reported by Geert, remove the string so the user does not see this config option. The option is explicitly selected only as a dependency of in-kernel users.

Fixes 44091d29f207 ("lib: Introduce priority array area manager")
---
 lib/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/Kconfig +0 -0
index 5d644f1..f355260 100644

lib/Kconfig config SBITMAP · line 554

Quoted 5 lines
lib/Kconfig +1 -1
@@ -551,6 +551,6 @@ config SBITMAP
        bool
 
 config PARMAN
-       tristate "parman"
+       tristate

Upon second thought

Quoted 6 lines
Quoted 4 lines

tristate "parman" if COMPILE_TEST

might be better, as it allows to enable and run the accompanying test without dependencies.

Geert, could you please send this as a follow-up? Thanks.

Sure, will do.

Gr{oetje,eeting}s,

Geert

author
#4 lore raw
In reply to Geert Uytterhoeven
Quoted 29 lines · Fri, Feb 24, 2017 at 08:54:04AM CET, [email protected] wrote:

Hi Jiri,

Quoted 18 lines · Jiri Pirko

From: Jiri Pirko <[email protected]>

As reported by Geert, remove the string so the user does not see this config option. The option is explicitly selected only as a dependency of in-kernel users.

Fixes 44091d29f207 ("lib: Introduce priority array area manager")
---
 lib/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/Kconfig +0 -0
index 5d644f1..f355260 100644

lib/Kconfig config SBITMAP · line 554

Quoted 5 lines
lib/Kconfig +1 -1
@@ -551,6 +551,6 @@ config SBITMAP
        bool
 
 config PARMAN
-       tristate "parman"
+       tristate

Upon second thought

Quoted 8 lines

tristate "parman" if COMPILE_TEST

might be better, as it allows to enable and run the accompanying test without dependencies.

Gr{oetje,eeting}s,

Geert

Geert, could you please send this as a follow-up? Thanks.