Skip to contentSkip to conversation

Remove empty help texts from Kconfig files

PATCH Applied Ulf Magnusson 4 participants 20 messages Jan 30, 2018 – Jan 31, 2018

Subsystems (13)

v1 of 2 Applied Latest is v2 →

lore
Share & tools
lore
#1 lore raw

PATCH 1/10 net/sched: kconfig: Remove empty help texts

In reply to Ulf Magnusson

In preparation for adding a warning ("kconfig: Warn if help text is blank"): https://lkml.org/lkml/2018/1/30/516

---
 net/sched/Kconfig | 3 ---
 1 file changed, 3 deletions(-)
net/sched/Kconfig +0 -3
index c03d86a7775e..f24a6ae6819a 100644
@@ -857,17 +857,14 @@ config NET_ACT_TUNNEL_KEY
 config NET_IFE_SKBMARK
         tristate "Support to encoding decoding skb mark on IFE action"
         depends on NET_ACT_IFE
-        ---help---
 
 config NET_IFE_SKBPRIO
         tristate "Support to encoding decoding skb prio on IFE action"
         depends on NET_ACT_IFE
-        ---help---
 
 config NET_IFE_SKBTCINDEX
         tristate "Support to encoding decoding skb tcindex on IFE action"
         depends on NET_ACT_IFE
-        ---help---
 
 config NET_CLS_IND
 	bool "Incoming device classification"
Signature · 1 line
2.14.1
#6 lore raw

PATCH 2/10 video: fbdev: kconfig: Remove empty help text

In reply to Ulf Magnusson

In preparation for adding a warning ("kconfig: Warn if help text is blank"): https://lkml.org/lkml/2018/1/30/516

---
 drivers/video/fbdev/Kconfig | 1 -
 1 file changed, 1 deletion(-)
drivers/video/fbdev/Kconfig +0 -1
index 6962b4583fd7..11e699f1062b 100644
@@ -1156,7 +1156,6 @@ config FB_I810_I2C
 	bool "Enable DDC Support"
 	depends on FB_I810 && FB_I810_GTF
 	select FB_DDC
-	help
 
 config FB_LE80578
 	tristate "Intel LE80578 (Vermilion) support"
Signature · 1 line
2.14.1
#7 lore raw

PATCH 3/10 mmc: kconfig: Remove empty help text

In reply to Ulf Magnusson

In preparation for adding a warning ("kconfig: Warn if help text is blank"): https://lkml.org/lkml/2018/1/30/516

---
 drivers/mmc/host/Kconfig | 1 -
 1 file changed, 1 deletion(-)
drivers/mmc/host/Kconfig +0 -1
index 67bd3344dd03..24dee8eb5270 100644
@@ -874,7 +874,6 @@ config MMC_CQHCI
 config MMC_TOSHIBA_PCI
 	tristate "Toshiba Type A SD/MMC Card Interface Driver"
 	depends on PCI
-	help
 
 config MMC_BCM2835
 	tristate "Broadcom BCM2835 SDHOST MMC Controller support"
Signature · 1 line
2.14.1
#8 lore raw

PATCH 4/10 Staging: rtl8192u: kconfig: Remove empty help text

In reply to Ulf Magnusson

In preparation for adding a warning ("kconfig: Warn if help text is blank"): https://lkml.org/lkml/2018/1/30/516

---
 drivers/staging/rtl8192u/Kconfig | 1 -
 1 file changed, 1 deletion(-)
drivers/staging/rtl8192u/Kconfig +0 -1
index 3ee9d0d00fb6..97df6507a485 100644
@@ -5,4 +5,3 @@ config RTL8192U
 	select WIRELESS_EXT
 	select WEXT_PRIV
 	select CRYPTO
-	---help---
Signature · 6 lines
2.14.1

_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
#9 lore raw

PATCH 5/10 Staging: rtl8192e: kconfig: Remove empty help text

In reply to Ulf Magnusson

In preparation for adding a warning ("kconfig: Warn if help text is blank"): https://lkml.org/lkml/2018/1/30/516

---
 drivers/staging/rtl8192e/rtl8192e/Kconfig | 1 -
 1 file changed, 1 deletion(-)
drivers/staging/rtl8192e/rtl8192e/Kconfig +0 -1
index 282e293da18f..7ac42a590e21 100644
@@ -6,4 +6,3 @@ config RTL8192E
 	select WEXT_PRIV
 	select CRYPTO
 	select FW_LOADER
-	---help---
Signature · 6 lines
2.14.1

_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
#16 lore raw

PATCH 7/10 MIPS: BCM63XX: kconfig: Remove empty help text

In reply to Ulf Magnusson

In preparation for adding a warning ("kconfig: Warn if help text is blank"): https://lkml.org/lkml/2018/1/30/516

---
 arch/mips/bcm63xx/boards/Kconfig | 1 -
 1 file changed, 1 deletion(-)
arch/mips/bcm63xx/boards/Kconfig +0 -1
index 6ff0a7481081..f60d96610ace 100644
@@ -7,6 +7,5 @@ choice
 config BOARD_BCM963XX
        bool "Generic Broadcom 963xx boards"
 	select SSB
-       help
 
 endchoice
Signature · 1 line
2.14.1
#18 lore raw

PATCH 9/10 arm: vt8500: kconfig: Remove empty help text

In reply to Ulf Magnusson

In preparation for adding a warning ("kconfig: Warn if help text is blank"): https://lkml.org/lkml/2018/1/30/516

---
 arch/arm/mach-vt8500/Kconfig | 1 -
 1 file changed, 1 deletion(-)
arch/arm/mach-vt8500/Kconfig +0 -1
index 1156a585dafc..8841199058ea 100644
@@ -13,7 +13,6 @@ config ARCH_WM8505
  	depends on ARCH_MULTI_V5
  	select ARCH_VT8500
  	select CPU_ARM926T
- 	help
 
 config ARCH_WM8750
 	bool "WonderMedia WM8750"
Signature · 1 line
2.14.1
#0 lore raw

cover Remove empty help texts from Kconfig files

This is preparation for adding the warning in
https://lkml.org/lkml/2018/1/30/516 ("kconfig: Warn if help text is blank")

Empty help texts are probably either a typo, a Kconfig misunderstanding, or some kind of half-committing to adding a help text (in which case a TODO comment would be clearer, if the help text really can't be added right away). Best to flag them, IMO.

Ulf Magnusson (10):
net/sched: kconfig: Remove empty help texts
video: fbdev: kconfig: Remove empty help text
mmc: kconfig: Remove empty help text
Staging: rtl8192u: kconfig: Remove empty help text
Staging: rtl8192e: kconfig: Remove empty help text lib/Kconfig.debug: Remove empty help text
MIPS: BCM63XX: kconfig: Remove empty help text
MIPS: kconfig: Remove empty help text
arm: vt8500: kconfig: Remove empty help text
nios2: kconfig: Remove empty help text

 arch/arm/mach-vt8500/Kconfig              | 1 -
 arch/mips/Kconfig                         | 1 -
 arch/mips/bcm63xx/boards/Kconfig          | 1 -
 arch/nios2/Kconfig                        | 1 -
 drivers/mmc/host/Kconfig                  | 1 -
 drivers/staging/rtl8192e/rtl8192e/Kconfig | 1 -
 drivers/staging/rtl8192u/Kconfig          | 1 -
 drivers/video/fbdev/Kconfig               | 1 -
 lib/Kconfig.debug                         | 1 -
 net/sched/Kconfig                         | 3 ---
 10 files changed, 12 deletions(-)
Signature · 1 line
2.14.1
#15 lore raw

PATCH 6/10 lib/Kconfig.debug: Remove empty help text

In preparation for adding a warning ("kconfig: Warn if help text is blank"): https://lkml.org/lkml/2018/1/30/516

---
 lib/Kconfig.debug | 1 -
 1 file changed, 1 deletion(-)
lib/Kconfig.debug +0 -1
index b66c264d4194..6088408ef26c 100644
@@ -351,7 +351,6 @@ config SECTION_MISMATCH_WARN_ONLY
 #
 config ARCH_WANT_FRAME_POINTERS
 	bool
-	help
 
 config FRAME_POINTER
 	bool "Compile the kernel with frame pointers"
Signature · 1 line
2.14.1
#17 lore raw

PATCH 8/10 MIPS: kconfig: Remove empty help text

In reply to Ulf Magnusson

In preparation for adding a warning ("kconfig: Warn if help text is blank"): https://lkml.org/lkml/2018/1/30/516

---
 arch/mips/Kconfig | 1 -
 1 file changed, 1 deletion(-)
arch/mips/Kconfig +0 -1
index ab98569994f0..57cd591e7b28 100644
@@ -2326,7 +2326,6 @@ config MIPS_VPE_LOADER_TOM
 config MIPS_VPE_APSP_API
 	bool "Enable support for AP/SP API (RTLX)"
 	depends on MIPS_VPE_LOADER
-	help
 
 config MIPS_VPE_APSP_API_CMP
 	bool
Signature · 1 line
2.14.1
#19 lore raw

PATCH 10/10 nios2: kconfig: Remove empty help text

In reply to Ulf Magnusson

In preparation for adding a warning ("kconfig: Warn if help text is blank"): https://lkml.org/lkml/2018/1/30/516

---
 arch/nios2/Kconfig | 1 -
 1 file changed, 1 deletion(-)
arch/nios2/Kconfig +0 -1
index 60fae03dac79..3d4ec88f1db1 100644
@@ -152,7 +152,6 @@ menu "Advanced setup"
 
 config ADVANCED_OPTIONS
 	bool "Prompt for advanced kernel configuration options"
-	help
 
 comment "Default settings for advanced configuration options are used"
 	depends on !ADVANCED_OPTIONS
Signature · 1 line
2.14.1
#10 lore raw

Re: [PATCH 05/10] Staging: rtl8192e: kconfig: Remove empty help text

In reply to Ulf Magnusson
Quoted 3 lines · Ulf Magnusson

In preparation for adding a warning ("kconfig: Warn if help text is blank"): https://lkml.org/lkml/2018/1/30/516

Please don't start the boddy of the email in the middle of a sentence.

It looks like this:

https://marc.info/?l=linux-driver-devel&m=151733925532413&w=2

Notice how the subject is up above the From, Date, and Message-id email headers? It's totally disconnected from the body of the email.

regards,
dan carpenter

#11 lore raw

Re: [PATCH 05/10] Staging: rtl8192e: kconfig: Remove empty help text

Quoted 9 lines · Dan Carpenter
Quoted 3 lines · Ulf Magnusson

In preparation for adding a warning ("kconfig: Warn if help text is blank"): https://lkml.org/lkml/2018/1/30/516

Please don't start the boddy of the email in the middle of a sentence.

It looks like this:

Quoted 7 lines

https://marc.info/?l=linux-driver-devel&m=151733925532413&w=2

Notice how the subject is up above the From, Date, and Message-id email headers? It's totally disconnected from the body of the email.

regards,
dan carpenter

The 'this is in...' was implied. I'll try to be less of a sloppy bastard.

Cheers,
Ulf
_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

#12 lore raw

Re: [PATCH 05/10] Staging: rtl8192e: kconfig: Remove empty help text

Quoted 12 lines · Ulf Magnusson
Quoted 11 lines · Dan Carpenter
Quoted 3 lines · Ulf Magnusson

In preparation for adding a warning ("kconfig: Warn if help text is blank"): https://lkml.org/lkml/2018/1/30/516

Please don't start the boddy of the email in the middle of a sentence.

It looks like this:

https://marc.info/?l=linux-driver-devel&m=151733925532413&w=2

Quoted 8 lines
Quoted 5 lines

Notice how the subject is up above the From, Date, and Message-id email headers? It's totally disconnected from the body of the email.

regards,
dan carpenter

The 'this is in...' was implied. I'll try to be less of a sloppy bastard.

I do feel that patch descriptions should say what the patch does as well as why. Right now the subject says what but I normally read either the body or the subject but not both.

regards,
dan carpenter

_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

#13 lore raw

Re: [PATCH 05/10] Staging: rtl8192e: kconfig: Remove empty help text

Quoted 22 lines · Dan Carpenter
Quoted 12 lines · Ulf Magnusson
Quoted 11 lines · Dan Carpenter
Quoted 3 lines · Ulf Magnusson

In preparation for adding a warning ("kconfig: Warn if help text is blank"): https://lkml.org/lkml/2018/1/30/516

Please don't start the boddy of the email in the middle of a sentence.

It looks like this:

https://marc.info/?l=linux-driver-devel&m=151733925532413&w=2

Quoted 8 lines
Quoted 5 lines

Notice how the subject is up above the From, Date, and Message-id email headers? It's totally disconnected from the body of the email.

regards,
dan carpenter

The 'this is in...' was implied. I'll try to be less of a sloppy bastard.

Quoted 7 lines

I do feel that patch descriptions should say what the patch does as well as why. Right now the subject says what but I normally read either the body or the subject but not both.

regards,
dan carpenter

I fleshed out the individual commit messages and rolled a new patchset, which adds the warning at the end:
https://lkml.org/lkml/2018/1/31/137

I wonder why that one doesn't display with proper threading on LKML. It does show the entire thread once you click on one of the later messages.

Cheers,
Ulf
_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

#14 lore raw

Re: [PATCH 05/10] Staging: rtl8192e: kconfig: Remove empty help text

Quoted 27 lines · Ulf Magnusson
Quoted 26 lines · Dan Carpenter
Quoted 12 lines · Ulf Magnusson
Quoted 11 lines · Dan Carpenter
Quoted 3 lines · Ulf Magnusson

In preparation for adding a warning ("kconfig: Warn if help text is blank"): https://lkml.org/lkml/2018/1/30/516

Please don't start the boddy of the email in the middle of a sentence.

It looks like this:

https://marc.info/?l=linux-driver-devel&m=151733925532413&w=2

Quoted 8 lines
Quoted 5 lines

Notice how the subject is up above the From, Date, and Message-id email headers? It's totally disconnected from the body of the email.

regards,
dan carpenter

The 'this is in...' was implied. I'll try to be less of a sloppy bastard.

I do feel that patch descriptions should say what the patch does as well as why. Right now the subject says what but I normally read either the body or the subject but not both.

Quoted 7 lines
Quoted 3 lines

regards,
dan carpenter

I fleshed out the individual commit messages and rolled a new patchset, which adds the warning at the end:
https://lkml.org/lkml/2018/1/31/137

Thanks!

regards,
dan carpenter

_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

#3 lore raw

Re: [PATCH 01/10] net/sched: kconfig: Remove empty help texts

2018-02-01 0:32 GMT+09:00 David Miller <[email protected]>:

Quoted 6 lines

From: Ulf Magnusson <[email protected]>
Date: Tue, 30 Jan 2018 20:05:23 +0100

Quoted 3 lines

In preparation for adding a warning ("kconfig: Warn if help text is blank"): https://lkml.org/lkml/2018/1/30/516

Quoted 7 lines
Quoted 1 line

Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

I had applied the whole series into linux-kbuild.

Do you want to apply it to your tree?

Signature · 2 lines
Best Regards
Masahiro Yamada
maintainer
#4 lore raw

Re: [PATCH 01/10] net/sched: kconfig: Remove empty help texts

From: Masahiro Yamada <[email protected]>
Date: Thu, 1 Feb 2018 00:37:27 +0900

Quoted 16 lines

2018-02-01 0:32 GMT+09:00 David Miller <[email protected]>:

Quoted 6 lines

From: Ulf Magnusson <[email protected]>
Date: Tue, 30 Jan 2018 20:05:23 +0100

Quoted 3 lines

In preparation for adding a warning ("kconfig: Warn if help text is blank"): https://lkml.org/lkml/2018/1/30/516

Quoted 7 lines
Quoted 1 line

Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Quoted 4 lines

I had applied the whole series into linux-kbuild.

Do you want to apply it to your tree?

I already did :-)

It won't cause any problems for it to be in both of our trees so let's just leave it this way.

#5 lore raw

Re: [PATCH 01/10] net/sched: kconfig: Remove empty help texts

Quoted 22 lines · David Miller

From: Masahiro Yamada <[email protected]>
Date: Thu, 1 Feb 2018 00:37:27 +0900

Quoted 19 lines

2018-02-01 0:32 GMT+09:00 David Miller <[email protected]>:

Quoted 6 lines

From: Ulf Magnusson <[email protected]>
Date: Tue, 30 Jan 2018 20:05:23 +0100

Quoted 3 lines

In preparation for adding a warning ("kconfig: Warn if help text is blank"): https://lkml.org/lkml/2018/1/30/516

Quoted 7 lines
Quoted 1 line

Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

I had applied the whole series into linux-kbuild.

Quoted 6 lines
Quoted 1 line

Do you want to apply it to your tree?

I already did :-)

It won't cause any problems for it to be in both of our trees so let's just leave it this way.

Yeah, sorry about that mess. I had assumed this would require coordination from more people. :)

Masahiro: Thanks for merging it so quickly!

Cheers,
Ulf