Remove blank help texts from Kconfig files and add warning
Subsystems (14)
cover Remove blank help texts from Kconfig files and add warning
This patchset first removes all blank help texts from Kconfig files for all arches, and then makes Kconfig print a warning for blank help texts.
All patches can be applied independently, but to avoid warning spam, the blank help texts ought to be removed before the warning is added.
Ulf Magnusson (11):
net/sched: kconfig: Remove blank help texts
video: fbdev: kconfig: Remove blank help text
mmc: kconfig: Remove blank help text
Staging: rtl8192u: kconfig: Remove blank help text
Staging: rtl8192e: kconfig: Remove blank help text lib/Kconfig.debug: Remove blank help text
MIPS: BCM63XX: kconfig: Remove blank help text
MIPS: kconfig: Remove blank help text
arm: vt8500: kconfig: Remove blank help text
nios2: kconfig: Remove blank help text
kconfig: Warn if help text is blank
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 --- scripts/kconfig/zconf.y | 6 ++++++ 11 files changed, 6 insertions(+), 12 deletions(-)
Signature · 1 line
2.14.1
PATCH 1/11 net/sched: kconfig: Remove blank help texts
Blank 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 remove them, IMO.
--- net/sched/Kconfig | 3 --- 1 file changed, 3 deletions(-)
net/sched/Kconfig +0 -3
@@ -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
PATCH 2/11 video: fbdev: kconfig: Remove blank help text
In reply to Ulf MagnussonBlank 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 remove them, IMO.
--- drivers/video/fbdev/Kconfig | 1 - 1 file changed, 1 deletion(-)
drivers/video/fbdev/Kconfig +0 -1
@@ -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
Re: [PATCH 02/11] video: fbdev: kconfig: Remove blank help text
Hi,
Quoted 6 lines · Ulf Magnusson
Blank help texts are probably either a typo, a
Kconfigmisunderstanding, 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 remove them, IMO.
How about actually adding some meaningful help texts instead (as a general rule each user visible option should have valid help text)?
Quoted 10 lines
Signed-off-by Ulf Magnusson <[email protected]>--- drivers/video/fbdev/Kconfig | 1 - 1 file changed, 1 deletion(-)drivers/video/fbdev/Kconfig +0
-0
drivers/video/fbdev/Kconfig config FB_I810_I2C · line 1159
Quoted 4 lines
drivers/video/fbdev/Kconfig +0
-1@@ -1156,7 +1156,6 @@ config FB_I810_I2C bool "Enable DDC Support" depends on FB_I810 && FB_I810_GTF select FB_DDC - help
Please add a missing help text instead (take a look at FB_SAVAGE_I2C config option to see how a valid help text entry should look like).
In the longer term we should consider removing *_I2C config options and just make the main config options always enable I2C subsystem directly if needed/useful (some fbdev drivers are doing it this way already).
drivers/video/fbdev/Kconfig config FB_I810_I2C · line 1161
Quoted 2 lines
drivers/video/fbdev/Kconfig +0
-0config FB_LE80578 tristate "Intel LE80578 (Vermilion) support"
Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics
Re: [PATCH 02/11] video: fbdev: kconfig: Remove blank help text
Quoted 20 lines · Bartlomiej Zolnierkiewicz
Hi,
Quoted 6 lines · Ulf Magnusson
Blank help texts are probably either a typo, a
Kconfigmisunderstanding, 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 remove them, IMO.
How about actually adding some meaningful help texts instead (as a general rule each user visible option should have valid help text)?
Quoted 5 lines
Signed-off-by Ulf Magnusson <[email protected]>--- drivers/video/fbdev/Kconfig | 1 - 1 file changed, 1 deletion(-)
Quoted 12 lines
drivers/video/fbdev/Kconfig config FB_I810_I2C · line 1159
Quoted 9 lines
drivers/video/fbdev/Kconfig +0
-1@@ -1156,7 +1156,6 @@ config FB_I810_I2C bool "Enable DDC Support" depends on FB_I810 && FB_I810_GTF select FB_DDC - helpPlease add a missing help text instead (take a look at
FB_SAVAGE_I2Cconfig option to see how a valid help text entry should look like).
The FB_I810_I2C option was added in 74f6ae84b23 ("[PATCH] i810fb: Add i2c/DDC support"). What do you think about adding this bit from the commit message as the help text?
Add DDC/I2C support for i810fb. This will allow the driver to get display information, especially for monitors with fickle timings.
I'm not familiar with this code, so I don't want to do too much guessing myself. :)
Quoted 6 lines
In the longer term we should consider removing
*_I2Cconfig options and just make the main config options always enable I2C subsystem directly if needed/useful (some fbdev drivers are doing it this way already).
Quoted 9 lines
drivers/video/fbdev/Kconfig config FB_I810_I2C · line 1161
Quoted 2 lines
drivers/video/fbdev/Kconfig +0
-0config FB_LE80578 tristate "Intel LE80578 (Vermilion) support"Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics
Cheers,
Ulf
Re: [PATCH 02/11] video: fbdev: kconfig: Remove blank help text
2018-02-02 1:56 GMT+09:00 Ulf Magnusson <[email protected]>:
Quoted 5 lines
Quoted 3 lines · Bartlomiej Zolnierkiewicz
Hi,
Quoted 7 lines
Quoted 7 lines · Ulf Magnusson
Quoted 6 lines
Blank help texts are probably either a typo, a
Kconfigmisunderstanding, 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 remove them, IMO.
FYI.
I picked up this patch to kbuild
because I need this to suppress warning messages
introduced by 11/11.
I am planning to send a PR for this series.
Signature · 2 lines
Best Regards Masahiro Yamada
Re: [PATCH 02/11] video: fbdev: kconfig: Remove blank help text
In reply to Ulf MagnussonQuoted 35 lines · Ulf Magnusson
Quoted 20 lines · Bartlomiej Zolnierkiewicz
Hi,
Quoted 6 lines · Ulf Magnusson
Blank help texts are probably either a typo, a
Kconfigmisunderstanding, 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 remove them, IMO.
How about actually adding some meaningful help texts instead (as a general rule each user visible option should have valid help text)?
Quoted 5 lines
Signed-off-by Ulf Magnusson <[email protected]>--- drivers/video/fbdev/Kconfig | 1 - 1 file changed, 1 deletion(-)Quoted 12 lines
drivers/video/fbdev/Kconfig config FB_I810_I2C · line 1159
Quoted 9 lines
drivers/video/fbdev/Kconfig +0
-1@@ -1156,7 +1156,6 @@ config FB_I810_I2C bool "Enable DDC Support" depends on FB_I810 && FB_I810_GTF select FB_DDC - helpPlease add a missing help text instead (take a look at
FB_SAVAGE_I2Cconfig option to see how a valid help text entry should look like).
Quoted 6 lines
The
FB_I810_I2Coption was added in74f6ae84b23("[PATCH] i810fb: Add i2c/DDC support"). What do you think about adding this bit from the commit message as the help text?Add DDC/I2C support for i810fb. This will allow the driver to get display information, especially for monitors with fickle timings.
Seems fine to me, please add:
If unsure, say Y.
and send it as a proper patch.
Quoted 2 lines
I'm not familiar with this code, so I don't want to do too much guessing myself. :)
:)
Quoted 15 lines
Quoted 5 lines
In the longer term we should consider removing
*_I2Cconfig options and just make the main config options always enable I2C subsystem directly if needed/useful (some fbdev drivers are doing it this way already).Quoted 9 lines
drivers/video/fbdev/Kconfig config FB_I810_I2C · line 1161
Quoted 2 lines
drivers/video/fbdev/Kconfig +0
-0config FB_LE80578 tristate "Intel LE80578 (Vermilion) support"Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics
Quoted 2 lines
Cheers,
Ulf
Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics
PATCH 1/1 video: fbdev: kconfig: Add help text to FB_I810_I2C
The FB_I810_I2C symbol previously had a blank help text, which was removed in e9829ac4e5fd ("video: fbdev: kconfig: Remove blank help text").
Give it a proper help text, derived from commit 74f6ae84b23 ("[PATCH]
i810fb: Add > i2c/DDC support").
---
Note: The removal of the blank help text is already in Linus' tree.
drivers/video/fbdev/Kconfig | 5 +++++ 1 file changed, 5 insertions(+)
drivers/video/fbdev/Kconfig +5 -0
@@ -1156,6 +1156,11 @@ config FB_I810_I2C bool "Enable DDC Support" depends on FB_I810 && FB_I810_GTF select FB_DDC + help + Add DDC/I2C support for i810fb. This will allow the driver to get + display information, especially for monitors with fickle timings. + + If unsure, say Y. config FB_LE80578 tristate "Intel LE80578 (Vermilion) support"
Signature · 1 line
2.14.1
Re: [PATCH] video: fbdev: kconfig: Add help text to FB_I810_I2C
Quoted 8 lines · Ulf Magnusson
The
FB_I810_I2Csymbol previously had a blank help text, which was removed ine9829ac4e5fd("video: fbdev: kconfig: Remove blank help text").Give it a proper help text, derived from commit
74f6ae84b23("[PATCH]
i810fb: Add > i2c/DDC support").Signed-off-by Ulf Magnusson <[email protected]>
Patch queued for 4.17, thanks.
Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics
PATCH 3/11 mmc: kconfig: Remove blank help text
In reply to Ulf MagnussonBlank 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 remove them, IMO.
--- drivers/mmc/host/Kconfig | 1 - 1 file changed, 1 deletion(-)
drivers/mmc/host/Kconfig +0 -1
@@ -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
Re: [PATCH 03/11] mmc: kconfig: Remove blank help text
2018-01-31 18:34 GMT+09:00 Ulf Magnusson <[email protected]>:
Quoted 9 lines
Blank help texts are probably either a typo, a
Kconfigmisunderstanding, 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 remove them, IMO.
Signed-off-by Ulf Magnusson <[email protected]>---
FYI.
I picked up this patch to kbuild
because I need this to suppress warning messages
introduced by 11/11.
I am planning to send a PR for this series next week.
Re: [PATCH 03/11] mmc: kconfig: Remove blank help text
Quoted 12 lines · Masahiro Yamada
2018-01-31 18:34 GMT+09:00 Ulf Magnusson <[email protected]>:
Quoted 9 lines
Blank help texts are probably either a typo, a
Kconfigmisunderstanding, 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 remove them, IMO.
Signed-off-by Ulf Magnusson <[email protected]>---
Quoted 5 lines
FYI.
I picked up this patch to kbuild
because I need this to suppress warning messages
introduced by 11/11.
Okay. Feel free to add my ack.
[...]
Kind regards
Uffe
PATCH 4/11 Staging: rtl8192u: kconfig: Remove blank help text
In reply to Ulf MagnussonBlank 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 remove them, IMO.
--- drivers/staging/rtl8192u/Kconfig | 1 - 1 file changed, 1 deletion(-)
drivers/staging/rtl8192u/Kconfig +0 -1
@@ -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
Re: [PATCH 04/11] Staging: rtl8192u: kconfig: Remove blank help text
2018-01-31 18:34 GMT+09:00 Ulf Magnusson <[email protected]>:
Quoted 9 lines
Blank help texts are probably either a typo, a
Kconfigmisunderstanding, 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 remove them, IMO.
Signed-off-by Ulf Magnusson <[email protected]>---
FYI.
I picked up this patch to kbuild
because I need this to suppress warning messages
introduced by 11/11.
I am planning to send a PR for this series next week.
_______________________________________________
devel mailing list [email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
PATCH 5/11 Staging: rtl8192e: kconfig: Remove blank help text
In reply to Ulf MagnussonBlank 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 remove them, IMO.
--- drivers/staging/rtl8192e/rtl8192e/Kconfig | 1 - 1 file changed, 1 deletion(-)
drivers/staging/rtl8192e/rtl8192e/Kconfig +0 -1
@@ -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
Re: [PATCH 05/11] Staging: rtl8192e: kconfig: Remove blank help text
2018-01-31 18:34 GMT+09:00 Ulf Magnusson <[email protected]>:
Quoted 9 lines
Blank help texts are probably either a typo, a
Kconfigmisunderstanding, 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 remove them, IMO.
Signed-off-by Ulf Magnusson <[email protected]>---
FYI.
I picked up this patch to kbuild
because I need this to suppress warning messages
introduced by 11/11.
I am planning to send a PR for this series next week.
Signature · 6 lines
Best Regards Masahiro Yamada _______________________________________________ devel mailing list [email protected] http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
PATCH 6/11 lib/Kconfig.debug: Remove blank help text
In reply to Ulf MagnussonBlank 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 remove them, IMO.
--- lib/Kconfig.debug | 1 - 1 file changed, 1 deletion(-)
lib/Kconfig.debug +0 -1
@@ -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
Re: [PATCH 06/11] lib/Kconfig.debug: Remove blank help text
2018-01-31 18:34 GMT+09:00 Ulf Magnusson <[email protected]>:
Quoted 9 lines
Blank help texts are probably either a typo, a
Kconfigmisunderstanding, 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 remove them, IMO.
Signed-off-by Ulf Magnusson <[email protected]>---
FYI.
I picked up this patch to kbuild
because I need this to suppress warning messages
introduced by 11/11.
I am planning to send a PR for this series next week.
PATCH 7/11 MIPS: BCM63XX: kconfig: Remove blank help text
In reply to Ulf MagnussonBlank 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 remove them, IMO.
--- arch/mips/bcm63xx/boards/Kconfig | 1 - 1 file changed, 1 deletion(-)
arch/mips/bcm63xx/boards/Kconfig +0 -1
@@ -7,6 +7,5 @@ choice config BOARD_BCM963XX bool "Generic Broadcom 963xx boards" select SSB - help endchoice
Signature · 1 line
2.14.1
PATCH 7/11 MIPS: BCM63XX: kconfig: Remove blank help text
2018-01-31 18:34 GMT+09:00 Ulf Magnusson <[email protected]>:
Quoted 9 lines
Blank help texts are probably either a typo, a
Kconfigmisunderstanding, 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 remove them, IMO.
Signed-off-by Ulf Magnusson <[email protected]>---
FYI.
I picked up this patch to kbuild
because I need this to suppress warning messages
introduced by 11/11.
I am planning to send a PR for this series next week.
Signature · 2 lines
Best Regards Masahiro Yamada
PATCH 8/11 MIPS: kconfig: Remove blank help text
In reply to Ulf MagnussonBlank 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 remove them, IMO.
--- arch/mips/Kconfig | 1 - 1 file changed, 1 deletion(-)
arch/mips/Kconfig +0 -1
@@ -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
Re: [PATCH 08/11] MIPS: kconfig: Remove blank help text
2018-01-31 18:34 GMT+09:00 Ulf Magnusson <[email protected]>:
Quoted 9 lines
Blank help texts are probably either a typo, a
Kconfigmisunderstanding, 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 remove them, IMO.
Signed-off-by Ulf Magnusson <[email protected]>---
FYI.
I picked up this patch to kbuild
because I need this to suppress warning messages
introduced by 11/11.
I am planning to send a PR for this series next week.
Signature · 2 lines
Best Regards Masahiro Yamada
PATCH 9/11 arm: vt8500: kconfig: Remove blank help text
In reply to Ulf MagnussonBlank 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 remove them, IMO.
--- arch/arm/mach-vt8500/Kconfig | 1 - 1 file changed, 1 deletion(-)
arch/arm/mach-vt8500/Kconfig +0 -1
@@ -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
Re: [PATCH 09/11] arm: vt8500: kconfig: Remove blank help text
2018-01-31 18:34 GMT+09:00 Ulf Magnusson <[email protected]>:
Quoted 9 lines
Blank help texts are probably either a typo, a
Kconfigmisunderstanding, 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 remove them, IMO.
Signed-off-by Ulf Magnusson <[email protected]>---
FYI.
I picked up this patch to kbuild
because I need this to suppress warning messages
introduced by 11/11.
I am planning to send a PR for this series next week.
PATCH 10/11 nios2: kconfig: Remove blank help text
In reply to Ulf MagnussonBlank 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 remove them, IMO.
--- arch/nios2/Kconfig | 1 - 1 file changed, 1 deletion(-)
arch/nios2/Kconfig +0 -1
@@ -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
Re: [PATCH 10/11] nios2: kconfig: Remove blank help text
2018-01-31 18:34 GMT+09:00 Ulf Magnusson <[email protected]>:
Quoted 9 lines
Blank help texts are probably either a typo, a
Kconfigmisunderstanding, 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 remove them, IMO.
Signed-off-by Ulf Magnusson <[email protected]>---
FYI.
I picked up this patch to kbuild
because I need this to suppress warning messages
introduced by 11/11.
I am planning to send a PR for this series next week.
Re: [PATCH 10/11] nios2: kconfig: Remove blank help text
In reply to Ulf MagnussonQuoted 24 lines · Ulf Magnusson
Blank help texts are probably either a typo, a
Kconfigmisunderstanding,
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 remove them, IMO.
Signed-off-by Ulf Magnusson <[email protected]>---
arch/nios2/Kconfig | 1 -1 file changed, 1 deletion(-)arch/nios2/Kconfig +0
-0@@ -152,7 +152,6 @@ menu "Advanced setup"config
ADVANCED_OPTIONS
bool "Prompt for advanced kernel configuration options" - help
Quoted 6 lines
comment "Default settings for advanced configuration options are used"
depends on !ADVANCED_OPTIONS
--
2.14.1
PATCH 11/11 kconfig: Warn if help text is blank
In reply to Ulf MagnussonBlank 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.
Example warning:
drivers/mmc/host/Kconfig:877: warning: 'MMC_TOSHIBA_PCI' defined with blank help text
--- scripts/kconfig/zconf.y | 6 ++++++ 1 file changed, 6 insertions(+)
scripts/kconfig/zconf.y +6 -0
@@ -436,6 +436,12 @@ help: help_start T_HELPTEXT zconfprint("warning: '%s' defined with more than one help text -- only the last one will be used", current_entry->sym->name ?: "<choice>"); } + + /* Is the help text empty or all whitespace? */ + if ($2[strspn($2, " \f\n\r\t\v")] == '\0') + zconfprint("warning: '%s' defined with blank help text", + current_entry->sym->name ?: "<choice>"); + current_entry->help = $2; };
Signature · 1 line
2.14.1
2018-01-31 18:34 GMT+09:00 Ulf Magnusson <[email protected]>:
Quoted 6 lines
This patchset first removes all blank help texts from
Kconfigfiles for all arches, and then makesKconfigprint a warning for blank help texts.All patches can be applied independently, but to avoid warning spam, the blank help texts ought to be removed before the warning is added.
Quoted 12 lines
Ulf Magnusson (11):
net/sched: kconfig: Remove blank help texts
video: fbdev: kconfig: Remove blank help text
mmc: kconfig: Remove blank help text
Staging: rtl8192u: kconfig: Remove blank help text
Staging: rtl8192e: kconfig: Remove blank help textlib/Kconfig.debug: Remove blank help text
MIPS: BCM63XX: kconfig: Remove blank help text
MIPS: kconfig: Remove blank help text
arm: vt8500: kconfig: Remove blank help text
nios2: kconfig: Remove blank help text
kconfig: Warn if help text is blank
Whole of the series, applied to linux-kbuild/kconfig. Thanks!
Quoted 20 lines
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 --- scripts/kconfig/zconf.y | 6 ++++++ 11 files changed, 6 insertions(+), 12 deletions(-)--
2.14.1--
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
Signature · 2 lines
Best Regards Masahiro Yamada
Randy Dunlap
Acked-byQuoted 21 lines · Masahiro Yamada
2018-01-31 18:34 GMT+09:00 Ulf Magnusson <[email protected]>:
Quoted 6 lines
This patchset first removes all blank help texts from
Kconfigfiles for all arches, and then makesKconfigprint a warning for blank help texts.All patches can be applied independently, but to avoid warning spam, the blank help texts ought to be removed before the warning is added.
Quoted 12 lines
Ulf Magnusson (11):
net/sched: kconfig: Remove blank help texts
video: fbdev: kconfig: Remove blank help text
mmc: kconfig: Remove blank help text
Staging: rtl8192u: kconfig: Remove blank help text
Staging: rtl8192e: kconfig: Remove blank help textlib/Kconfig.debug: Remove blank help text
MIPS: BCM63XX: kconfig: Remove blank help text
MIPS: kconfig: Remove blank help text
arm: vt8500: kconfig: Remove blank help text
nios2: kconfig: Remove blank help text
kconfig: Warn if help text is blank
Quoted 2 lines
Whole of the series, applied to linux-kbuild/kconfig. Thanks!
That probably means that I am too late, but anyway:
Thanks.
Quoted 14 lines
Quoted 14 lines
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 --- scripts/kconfig/zconf.y | 6 ++++++ 11 files changed, 6 insertions(+), 12 deletions(-)
Signature · 1 line
~Randy
2018-02-01 5:46 GMT+09:00 Randy Dunlap <[email protected]>:
Quoted 22 lines · Masahiro Yamada
Quoted 21 lines
2018-01-31 18:34 GMT+09:00 Ulf Magnusson <[email protected]>:
Quoted 18 lines
This patchset first removes all blank help texts from
Kconfigfiles for all arches, and then makesKconfigprint a warning for blank help texts.All patches can be applied independently, but to avoid warning spam, the blank help texts ought to be removed before the warning is added.
Ulf Magnusson (11):
net/sched: kconfig: Remove blank help texts
video: fbdev: kconfig: Remove blank help text
mmc: kconfig: Remove blank help text
Staging: rtl8192u: kconfig: Remove blank help text
Staging: rtl8192e: kconfig: Remove blank help textlib/Kconfig.debug: Remove blank help text
MIPS: BCM63XX: kconfig: Remove blank help text
MIPS: kconfig: Remove blank help text
arm: vt8500: kconfig: Remove blank help text
nios2: kconfig: Remove blank help text
kconfig: Warn if help text is blank
Quoted 7 lines
Quoted 2 lines
Whole of the series, applied to linux-kbuild/kconfig. Thanks!
That probably means that I am too late, but anyway:
I will add your Acked-by. Thanks!
Signature · 2 lines
Best Regards Masahiro Yamada