Skip to contentSkip to conversation

Kconfig: Fix "warning: style: quotes recommended" warnings

PATCH In review Tom Rini 1 participant 2 messages Mar 15, 2025 – Apr 1, 2025

Subsystems (3)
lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 Kconfig: Fix "warning: style: quotes recommended" warnings

We have three warnings about needing to use quotes around some strings in Kconfig files today. In two of these cases we can just add the missing strings. In the case of INTEL_PINCTRL_PADCFG_PADTOL the symbol is never referenced and should be dropped.

---
 Kconfig                       | 2 +-
 drivers/pinctrl/intel/Kconfig | 3 ---
 lib/Kconfig                   | 4 +++-
 3 files changed, 4 insertions(+), 5 deletions(-)
Kconfig +1 -1
index 70dc385dd2f2..a508c5430f0d 100644
@@ -748,7 +748,7 @@ source "dts/Kconfig"
 
 source "env/Kconfig"
 
-menu Networking
+menu "Networking"
 
 choice
 	prompt "Networking stack"
drivers/pinctrl/intel/Kconfig +0 -3
index 316a8fe27fda..0d8bfc53c114 100644
@@ -8,9 +8,6 @@ config INTEL_PINCTRL_DUAL_ROUTE_SUPPORT
 	bool
 	default y
 
-config INTEL_PINCTRL_PADCFG_PADTOL
-	bool n
-
 config INTEL_PINCTRL_IOSTANDBY
 	bool
 	default y
lib/Kconfig +3 -1
index a21b3378fa74..179544611148 100644
@@ -445,7 +445,9 @@ config CIRCBUF
 source "lib/dhry/Kconfig"
 
 menu "Alternative crypto libraries"
-source lib/mbedtls/Kconfig
+
+source "lib/mbedtls/Kconfig"
+
 endmenu
 
 menu "Security support"
Signature · 1 line
2.43.0
author
#1 lore raw
Quoted 6 lines · Tom Rini

We have three warnings about needing to use quotes around some strings in Kconfig files today. In two of these cases we can just add the missing strings. In the case of INTEL_PINCTRL_PADCFG_PADTOL the symbol is never referenced and should be dropped.

Applied to u-boot/next, thanks!

[1/1] Kconfig: Fix "warning: style: quotes recommended" warnings

      commit: 9b4b86f90c3a0484d4ecdcdb9977c385363ce5f8
Signature · 1 line
Tom