Skip to contentSkip to conversation

Staging: r8712u: Replace '--help--' with 'help'

PATCH In review Wentao Cai 2 participants 2 messages Mar 8, 2019 Staging

lore
Share & tools
lore

Wentao Cai

author
#0 lore raw

PATCH v2 1/1 Staging: r8712u: Replace '--help--' with 'help'

Replace '--help--' in Kconfig and indent the subsequent text to silence checkpatch.pl warning:
WARNING: prefer 'help' over '---help---' for new help texts

---
 drivers/staging/rtl8712/Kconfig | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
drivers/staging/rtl8712/Kconfig +5 -5
index f160eee52f09..622ad14f232c 100644
@@ -4,14 +4,14 @@ config R8712U
 	select WIRELESS_EXT
 	select WEXT_PRIV
 	select FW_LOADER
-	---help---
-	This option adds the Realtek RTL8712 USB device such as the D-Link DWA-130.
-	If built as a module, it will be called r8712u.
+	help
+	    This option adds the Realtek RTL8712 USB device such as the D-Link DWA-130.
+	    If built as a module, it will be called r8712u.
 
 config R8712_TX_AGGR
 	bool "Realtek RTL8712U Transmit Aggregation code"
 	depends on R8712U && BROKEN
-	---help---
-	This option provides transmit aggregation for the Realtek RTL8712 USB device.
+	help
+	    This option provides transmit aggregation for the Realtek RTL8712 USB device.
 
 
Signature · 1 line
2.11.0
#1 lore raw
Quoted 23 lines · Wentao Cai

Replace '--help--' in Kconfig and indent the subsequent text to silence checkpatch.pl warning:
WARNING: prefer 'help' over '---help---' for new help texts

---
 drivers/staging/rtl8712/Kconfig | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
drivers/staging/rtl8712/Kconfig +3 -3
index f160eee52f09..622ad14f232c 100644
@@ -4,14 +4,14 @@ config R8712U
 	select WIRELESS_EXT
 	select WEXT_PRIV
 	select FW_LOADER
-	---help---
-	This option adds the Realtek RTL8712 USB device such as the D-Link DWA-130.
-	If built as a module, it will be called r8712u.
+	help
+	    This option adds the Realtek RTL8712 USB device such as the D-Link DWA-130.
+	    If built as a module, it will be called r8712u.

drivers/staging/rtl8712/Kconfig config R8712U · line 17

Quoted 10 lines
drivers/staging/rtl8712/Kconfig +2 -2
 
 config R8712_TX_AGGR
 	bool "Realtek RTL8712U Transmit Aggregation code"
 	depends on R8712U && BROKEN
-	---help---
-	This option provides transmit aggregation for the Realtek RTL8712 USB device.
+	help
+	    This option provides transmit aggregation for the Realtek RTL8712 USB device.
 
 

This patch does not apply. Please make sure to always work off of my staging-testing branch of the staging.git repository.

thanks,

greg k-h