Skip to content

Commit 8636a1f

Browse files
committed
treewide: surround Kconfig file paths with double quotes
The Kconfig lexer supports special characters such as '.' and '/' in the parameter context. In my understanding, the reason is just to support bare file paths in the source statement. I do not see a good reason to complicate Kconfig for the room of ambiguity. The majority of code already surrounds file paths with double quotes, and it makes sense since file paths are constant string literals. Make it treewide consistent now. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by: Wolfram Sang <wsa@the-dreams.de> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Ingo Molnar <mingo@kernel.org>
1 parent 48547bd commit 8636a1f

30 files changed

Lines changed: 47 additions & 47 deletions

File tree

‎arch/arm/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -910,7 +910,7 @@ config PLAT_VERSATILE
910910

911911
source "arch/arm/firmware/Kconfig"
912912

913-
source arch/arm/mm/Kconfig
913+
source "arch/arm/mm/Kconfig"
914914

915915
config IWMMXT
916916
bool "Enable iWMMXt support"

‎arch/arm/kvm/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,6 @@ config KVM_ARM_HOST
5555
---help---
5656
Provides host support for ARM processors.
5757

58-
source drivers/vhost/Kconfig
58+
source "drivers/vhost/Kconfig"
5959

6060
endif # VIRTUALIZATION

‎arch/arm64/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,7 @@ config NEED_PER_CPU_EMBED_FIRST_CHUNK
782782
config HOLES_IN_ZONE
783783
def_bool y
784784

785-
source kernel/Kconfig.hz
785+
source "kernel/Kconfig.hz"
786786

787787
config ARCH_SUPPORTS_DEBUG_PAGEALLOC
788788
def_bool y

‎arch/arm64/kvm/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,6 @@ config KVM_ARM_PMU
6161
config KVM_INDIRECT_VECTORS
6262
def_bool KVM && (HARDEN_BRANCH_PREDICTOR || HARDEN_EL2_VECTORS)
6363

64-
source drivers/vhost/Kconfig
64+
source "drivers/vhost/Kconfig"
6565

6666
endif # VIRTUALIZATION

‎arch/ia64/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ config HZ
261261
endif
262262

263263
if !IA64_HP_SIM
264-
source kernel/Kconfig.hz
264+
source "kernel/Kconfig.hz"
265265
endif
266266

267267
config IA64_BRL_EMU

‎arch/m68k/Kconfig‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,11 +123,11 @@ config BOOTINFO_PROC
123123

124124
menu "Platform setup"
125125

126-
source arch/m68k/Kconfig.cpu
126+
source "arch/m68k/Kconfig.cpu"
127127

128-
source arch/m68k/Kconfig.machine
128+
source "arch/m68k/Kconfig.machine"
129129

130-
source arch/m68k/Kconfig.bus
130+
source "arch/m68k/Kconfig.bus"
131131

132132
endmenu
133133

‎arch/mips/kvm/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,6 @@ config KVM_MIPS_DEBUG_COP0_COUNTERS
7272

7373
If unsure, say N.
7474

75-
source drivers/vhost/Kconfig
75+
source "drivers/vhost/Kconfig"
7676

7777
endif # VIRTUALIZATION

‎arch/openrisc/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ config SMP
139139

140140
If you don't know what to do here, say N.
141141

142-
source kernel/Kconfig.hz
142+
source "kernel/Kconfig.hz"
143143

144144
config OPENRISC_NO_SPR_SR_DSX
145145
bool "use SPR_SR_DSX software emulation" if OR1K_1200

‎arch/powerpc/Kconfig‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ config HIGHMEM
393393
bool "High memory support"
394394
depends on PPC32
395395

396-
source kernel/Kconfig.hz
396+
source "kernel/Kconfig.hz"
397397

398398
config HUGETLB_PAGE_SIZE_VARIABLE
399399
bool
@@ -816,7 +816,7 @@ config ARCH_WANTS_FREEZER_CONTROL
816816
def_bool y
817817
depends on ADB_PMU
818818

819-
source kernel/power/Kconfig
819+
source "kernel/power/Kconfig"
820820

821821
config SECCOMP
822822
bool "Enable seccomp to safely compute untrusted bytecode"

‎arch/powerpc/kvm/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,6 @@ config KVM_XIVE
204204
default y
205205
depends on KVM_XICS && PPC_XIVE_NATIVE && KVM_BOOK3S_HV_POSSIBLE
206206

207-
source drivers/vhost/Kconfig
207+
source "drivers/vhost/Kconfig"
208208

209209
endif # VIRTUALIZATION

0 commit comments

Comments
 (0)