[openwrt/openwrt] realtek: fix "help" line in Kconfig in files/patches for 5.10

LEDE Commits lede-commits at lists.infradead.org
Sat Sep 25 15:37:29 PDT 2021


adrian pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/2ec38bfea1f5a66848a086f1cc09844c66512847

commit 2ec38bfea1f5a66848a086f1cc09844c66512847
Author: INAGAKI Hiroshi <musashino.open at gmail.com>
AuthorDate: Wed May 5 14:18:43 2021 +0900

    realtek: fix "help" line in Kconfig in files/patches for 5.10
    
    In Kernel 5.10, "help" must be used instead of "---help---".
    
    this patch fixes the following errors:
    
    drivers/net/dsa/rtl83xx/Kconfig:7: syntax errorgit
    drivers/net/dsa/rtl83xx/Kconfig:6: unknown statement "---help---"
    drivers/net/dsa/rtl83xx/Kconfig:7:warning: ignoring unsupported character '.'
    drivers/net/dsa/rtl83xx/Kconfig:7: unknown statement "This"
    drivers/net/ethernet/Kconfig:170: syntax error
    drivers/net/ethernet/Kconfig:169: unknown statement "---help---"
    drivers/net/ethernet/Kconfig:170:warning: ignoring unsupported character '.'
    drivers/net/ethernet/Kconfig:170: unknown statement "Say"
    drivers/net/phy/Kconfig:331: syntax error
    drivers/net/phy/Kconfig:330: unknown statement "---help---"
    drivers/net/phy/Kconfig:331: unknown statement "Supports"
    
    Signed-off-by: INAGAKI Hiroshi <musashino.open at gmail.com>
---
 target/linux/realtek/files-5.10/drivers/net/dsa/rtl83xx/Kconfig         | 2 +-
 .../702-net-ethernet-add-support-for-rtl838x-ethernet.patch             | 2 +-
 target/linux/realtek/patches-5.10/705-add-rtl-phy.patch                 | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/target/linux/realtek/files-5.10/drivers/net/dsa/rtl83xx/Kconfig b/target/linux/realtek/files-5.10/drivers/net/dsa/rtl83xx/Kconfig
index f293832eb5..b423d2c3ea 100644
--- a/target/linux/realtek/files-5.10/drivers/net/dsa/rtl83xx/Kconfig
+++ b/target/linux/realtek/files-5.10/drivers/net/dsa/rtl83xx/Kconfig
@@ -3,6 +3,6 @@ config NET_DSA_RTL83XX
 	tristate "Realtek RTL838x/RTL839x switch support"
 	depends on RTL838X
 	select NET_DSA_TAG_TRAILER
-	---help---
+	help
 	  This driver adds support for Realtek RTL83xx series switching.
 
diff --git a/target/linux/realtek/patches-5.10/702-net-ethernet-add-support-for-rtl838x-ethernet.patch b/target/linux/realtek/patches-5.10/702-net-ethernet-add-support-for-rtl838x-ethernet.patch
index 11e62450d5..b3a6dd9a72 100644
--- a/target/linux/realtek/patches-5.10/702-net-ethernet-add-support-for-rtl838x-ethernet.patch
+++ b/target/linux/realtek/patches-5.10/702-net-ethernet-add-support-for-rtl838x-ethernet.patch
@@ -8,7 +8,7 @@
 +config NET_RTL838X
 +	tristate "Realtek rtl838x Ethernet MAC support"
 +	depends on RTL838X
-+	---help---
++	help
 +	  Say Y here if you want to use the Realtek rtl838x Gbps Ethernet MAC.
 +
  source "drivers/net/ethernet/samsung/Kconfig"
diff --git a/target/linux/realtek/patches-5.10/705-add-rtl-phy.patch b/target/linux/realtek/patches-5.10/705-add-rtl-phy.patch
index f4cd8f2d6d..c1b74f7fe4 100644
--- a/target/linux/realtek/patches-5.10/705-add-rtl-phy.patch
+++ b/target/linux/realtek/patches-5.10/705-add-rtl-phy.patch
@@ -7,7 +7,7 @@
 +config REALTEK_SOC_PHY
 +	tristate "Realtek SoC PHYs"
 +	depends on RTL838X
-+	---help---
++	help
 +	  Supports the PHYs found in combination with Realtek Switch SoCs
 +
  config RENESAS_PHY



More information about the lede-commits mailing list