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>
This commit is contained in:
Masahiro Yamada 2018-12-11 20:01:04 +09:00
Родитель 48547bd23d
Коммит 8636a1f967
30 изменённых файлов: 47 добавлений и 47 удалений

Просмотреть файл

@ -910,7 +910,7 @@ config PLAT_VERSATILE
source "arch/arm/firmware/Kconfig" source "arch/arm/firmware/Kconfig"
source arch/arm/mm/Kconfig source "arch/arm/mm/Kconfig"
config IWMMXT config IWMMXT
bool "Enable iWMMXt support" bool "Enable iWMMXt support"

Просмотреть файл

@ -55,6 +55,6 @@ config KVM_ARM_HOST
---help--- ---help---
Provides host support for ARM processors. Provides host support for ARM processors.
source drivers/vhost/Kconfig source "drivers/vhost/Kconfig"
endif # VIRTUALIZATION endif # VIRTUALIZATION

Просмотреть файл

@ -782,7 +782,7 @@ config NEED_PER_CPU_EMBED_FIRST_CHUNK
config HOLES_IN_ZONE config HOLES_IN_ZONE
def_bool y def_bool y
source kernel/Kconfig.hz source "kernel/Kconfig.hz"
config ARCH_SUPPORTS_DEBUG_PAGEALLOC config ARCH_SUPPORTS_DEBUG_PAGEALLOC
def_bool y def_bool y

Просмотреть файл

@ -61,6 +61,6 @@ config KVM_ARM_PMU
config KVM_INDIRECT_VECTORS config KVM_INDIRECT_VECTORS
def_bool KVM && (HARDEN_BRANCH_PREDICTOR || HARDEN_EL2_VECTORS) def_bool KVM && (HARDEN_BRANCH_PREDICTOR || HARDEN_EL2_VECTORS)
source drivers/vhost/Kconfig source "drivers/vhost/Kconfig"
endif # VIRTUALIZATION endif # VIRTUALIZATION

Просмотреть файл

@ -261,7 +261,7 @@ config HZ
endif endif
if !IA64_HP_SIM if !IA64_HP_SIM
source kernel/Kconfig.hz source "kernel/Kconfig.hz"
endif endif
config IA64_BRL_EMU config IA64_BRL_EMU

Просмотреть файл

@ -123,11 +123,11 @@ config BOOTINFO_PROC
menu "Platform setup" menu "Platform setup"
source arch/m68k/Kconfig.cpu source "arch/m68k/Kconfig.cpu"
source arch/m68k/Kconfig.machine source "arch/m68k/Kconfig.machine"
source arch/m68k/Kconfig.bus source "arch/m68k/Kconfig.bus"
endmenu endmenu

Просмотреть файл

@ -72,6 +72,6 @@ config KVM_MIPS_DEBUG_COP0_COUNTERS
If unsure, say N. If unsure, say N.
source drivers/vhost/Kconfig source "drivers/vhost/Kconfig"
endif # VIRTUALIZATION endif # VIRTUALIZATION

Просмотреть файл

@ -139,7 +139,7 @@ config SMP
If you don't know what to do here, say N. If you don't know what to do here, say N.
source kernel/Kconfig.hz source "kernel/Kconfig.hz"
config OPENRISC_NO_SPR_SR_DSX config OPENRISC_NO_SPR_SR_DSX
bool "use SPR_SR_DSX software emulation" if OR1K_1200 bool "use SPR_SR_DSX software emulation" if OR1K_1200

Просмотреть файл

@ -393,7 +393,7 @@ config HIGHMEM
bool "High memory support" bool "High memory support"
depends on PPC32 depends on PPC32
source kernel/Kconfig.hz source "kernel/Kconfig.hz"
config HUGETLB_PAGE_SIZE_VARIABLE config HUGETLB_PAGE_SIZE_VARIABLE
bool bool
@ -816,7 +816,7 @@ config ARCH_WANTS_FREEZER_CONTROL
def_bool y def_bool y
depends on ADB_PMU depends on ADB_PMU
source kernel/power/Kconfig source "kernel/power/Kconfig"
config SECCOMP config SECCOMP
bool "Enable seccomp to safely compute untrusted bytecode" bool "Enable seccomp to safely compute untrusted bytecode"

Просмотреть файл

@ -204,6 +204,6 @@ config KVM_XIVE
default y default y
depends on KVM_XICS && PPC_XIVE_NATIVE && KVM_BOOK3S_HV_POSSIBLE depends on KVM_XICS && PPC_XIVE_NATIVE && KVM_BOOK3S_HV_POSSIBLE
source drivers/vhost/Kconfig source "drivers/vhost/Kconfig"
endif # VIRTUALIZATION endif # VIRTUALIZATION

Просмотреть файл

@ -287,6 +287,6 @@ endmenu
menu "Power management options" menu "Power management options"
source kernel/power/Kconfig source "kernel/power/Kconfig"
endmenu endmenu

Просмотреть файл

@ -520,7 +520,7 @@ config SCHED_TOPOLOGY
making when dealing with machines that have multi-threading, making when dealing with machines that have multi-threading,
multiple cores or multiple books. multiple cores or multiple books.
source kernel/Kconfig.hz source "kernel/Kconfig.hz"
config KEXEC config KEXEC
def_bool y def_bool y

Просмотреть файл

@ -57,6 +57,6 @@ config KVM_S390_UCONTROL
# OK, it's a little counter-intuitive to do this, but it puts it neatly under # OK, it's a little counter-intuitive to do this, but it puts it neatly under
# the virtualization menu. # the virtualization menu.
source drivers/vhost/Kconfig source "drivers/vhost/Kconfig"
endif # VIRTUALIZATION endif # VIRTUALIZATION

Просмотреть файл

@ -597,7 +597,7 @@ endmenu
menu "Kernel features" menu "Kernel features"
source kernel/Kconfig.hz source "kernel/Kconfig.hz"
config KEXEC config KEXEC
bool "kexec system call (EXPERIMENTAL)" bool "kexec system call (EXPERIMENTAL)"

Просмотреть файл

@ -187,7 +187,7 @@ config NR_CPUS
default 32 if SPARC32 default 32 if SPARC32
default 4096 if SPARC64 default 4096 if SPARC64
source kernel/Kconfig.hz source "kernel/Kconfig.hz"
config RWSEM_GENERIC_SPINLOCK config RWSEM_GENERIC_SPINLOCK
bool bool

Просмотреть файл

@ -1975,7 +1975,7 @@ config SECCOMP
If unsure, say Y. Only embedded should say N here. If unsure, say Y. Only embedded should say N here.
source kernel/Kconfig.hz source "kernel/Kconfig.hz"
config KEXEC config KEXEC
bool "kexec system call" bool "kexec system call"

Просмотреть файл

@ -98,6 +98,6 @@ config KVM_MMU_AUDIT
# OK, it's a little counter-intuitive to do this, but it puts it neatly under # OK, it's a little counter-intuitive to do this, but it puts it neatly under
# the virtualization menu. # the virtualization menu.
source drivers/vhost/Kconfig source "drivers/vhost/Kconfig"
endif # VIRTUALIZATION endif # VIRTUALIZATION

Просмотреть файл

@ -224,4 +224,4 @@ config BLK_MQ_RDMA
config BLK_PM config BLK_PM
def_bool BLOCK && PM def_bool BLOCK && PM
source block/Kconfig.iosched source "block/Kconfig.iosched"

Просмотреть файл

@ -1826,7 +1826,7 @@ config CRYPTO_HASH_INFO
bool bool
source "drivers/crypto/Kconfig" source "drivers/crypto/Kconfig"
source crypto/asymmetric_keys/Kconfig source "crypto/asymmetric_keys/Kconfig"
source certs/Kconfig source "certs/Kconfig"
endif # if CRYPTO endif # if CRYPTO

Просмотреть файл

@ -258,7 +258,7 @@ config CRYPTO_DEV_HIFN_795X_RNG
Select this option if you want to enable the random number generator Select this option if you want to enable the random number generator
on the HIFN 795x crypto adapters. on the HIFN 795x crypto adapters.
source drivers/crypto/caam/Kconfig source "drivers/crypto/caam/Kconfig"
config CRYPTO_DEV_TALITOS config CRYPTO_DEV_TALITOS
tristate "Talitos Freescale Security Engine (SEC)" tristate "Talitos Freescale Security Engine (SEC)"

Просмотреть файл

@ -131,5 +131,5 @@ config DRM_I915_GVT_KVMGT
menu "drm/i915 Debugging" menu "drm/i915 Debugging"
depends on DRM_I915 depends on DRM_I915
depends on EXPERT depends on EXPERT
source drivers/gpu/drm/i915/Kconfig.debug source "drivers/gpu/drm/i915/Kconfig.debug"
endmenu endmenu

Просмотреть файл

@ -1306,7 +1306,7 @@ config SENSORS_PCF8591
These devices are hard to detect and rarely found on mainstream These devices are hard to detect and rarely found on mainstream
hardware. If unsure, say N. hardware. If unsure, say N.
source drivers/hwmon/pmbus/Kconfig source "drivers/hwmon/pmbus/Kconfig"
config SENSORS_PWM_FAN config SENSORS_PWM_FAN
tristate "PWM fan" tristate "PWM fan"

Просмотреть файл

@ -68,7 +68,7 @@ config I2C_MUX
This support is also available as a module. If so, the module This support is also available as a module. If so, the module
will be called i2c-mux. will be called i2c-mux.
source drivers/i2c/muxes/Kconfig source "drivers/i2c/muxes/Kconfig"
config I2C_HELPER_AUTO config I2C_HELPER_AUTO
bool "Autoselect pertinent helper modules" bool "Autoselect pertinent helper modules"
@ -94,8 +94,8 @@ config I2C_SMBUS
This support is also available as a module. If so, the module This support is also available as a module. If so, the module
will be called i2c-smbus. will be called i2c-smbus.
source drivers/i2c/algos/Kconfig source "drivers/i2c/algos/Kconfig"
source drivers/i2c/busses/Kconfig source "drivers/i2c/busses/Kconfig"
config I2C_STUB config I2C_STUB
tristate "I2C/SMBus Test Stub" tristate "I2C/SMBus Test Stub"

Просмотреть файл

@ -37,8 +37,8 @@ config NTP_PPS
It doesn't work on tickless systems at the moment. It doesn't work on tickless systems at the moment.
source drivers/pps/clients/Kconfig source "drivers/pps/clients/Kconfig"
source drivers/pps/generators/Kconfig source "drivers/pps/generators/Kconfig"
endif # PPS endif # PPS

Просмотреть файл

@ -30,6 +30,6 @@ menuconfig RAS
if RAS if RAS
source arch/x86/ras/Kconfig source "arch/x86/ras/Kconfig"
endif endif

Просмотреть файл

@ -383,7 +383,7 @@ config INTEL_QUARK_DTS_THERMAL
underlying BIOS/Firmware. underlying BIOS/Firmware.
menu "ACPI INT340X thermal drivers" menu "ACPI INT340X thermal drivers"
source drivers/thermal/int340x_thermal/Kconfig source "drivers/thermal/int340x_thermal/Kconfig"
endmenu endmenu
config INTEL_BXT_PMIC_THERMAL config INTEL_BXT_PMIC_THERMAL

Просмотреть файл

@ -25,7 +25,7 @@ config W1_CON
2. Userspace commands. Includes read/write and search/alarm search commands. 2. Userspace commands. Includes read/write and search/alarm search commands.
3. Replies to userspace commands. 3. Replies to userspace commands.
source drivers/w1/masters/Kconfig source "drivers/w1/masters/Kconfig"
source drivers/w1/slaves/Kconfig source "drivers/w1/slaves/Kconfig"
endif # W1 endif # W1

Просмотреть файл

@ -439,7 +439,7 @@ config DEBUG_KERNEL
menu "Memory Debugging" menu "Memory Debugging"
source mm/Kconfig.debug source "mm/Kconfig.debug"
config DEBUG_OBJECTS config DEBUG_OBJECTS
bool "Debug object operations" bool "Debug object operations"
@ -1609,7 +1609,7 @@ config LATENCYTOP
Enable this option if you want to use the LatencyTOP tool Enable this option if you want to use the LatencyTOP tool
to find out which userspace is blocking on what kernel operations. to find out which userspace is blocking on what kernel operations.
source kernel/trace/Kconfig source "kernel/trace/Kconfig"
config PROVIDE_OHCI1394_DMA_INIT config PROVIDE_OHCI1394_DMA_INIT
bool "Remote debugging over FireWire early on boot" bool "Remote debugging over FireWire early on boot"

Просмотреть файл

@ -4,7 +4,7 @@
menu "Security options" menu "Security options"
source security/keys/Kconfig source "security/keys/Kconfig"
config SECURITY_DMESG_RESTRICT config SECURITY_DMESG_RESTRICT
bool "Restrict unprivileged access to the kernel syslog" bool "Restrict unprivileged access to the kernel syslog"
@ -230,14 +230,14 @@ config STATIC_USERMODEHELPER_PATH
If you wish for all usermode helper programs to be disabled, If you wish for all usermode helper programs to be disabled,
specify an empty string here (i.e. ""). specify an empty string here (i.e. "").
source security/selinux/Kconfig source "security/selinux/Kconfig"
source security/smack/Kconfig source "security/smack/Kconfig"
source security/tomoyo/Kconfig source "security/tomoyo/Kconfig"
source security/apparmor/Kconfig source "security/apparmor/Kconfig"
source security/loadpin/Kconfig source "security/loadpin/Kconfig"
source security/yama/Kconfig source "security/yama/Kconfig"
source security/integrity/Kconfig source "security/integrity/Kconfig"
choice choice
prompt "Default security module" prompt "Default security module"

Просмотреть файл

@ -66,7 +66,7 @@ config INTEGRITY_AUDIT
be enabled by specifying 'integrity_audit=1' on the kernel be enabled by specifying 'integrity_audit=1' on the kernel
command line. command line.
source security/integrity/ima/Kconfig source "security/integrity/ima/Kconfig"
source security/integrity/evm/Kconfig source "security/integrity/evm/Kconfig"
endif # if INTEGRITY endif # if INTEGRITY