]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
treewide: surround Kconfig file paths with double quotes
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 11 Dec 2018 11:01:04 +0000 (20:01 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 21 Dec 2018 15:25:54 +0000 (00:25 +0900)
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>
30 files changed:
arch/arm/Kconfig
arch/arm/kvm/Kconfig
arch/arm64/Kconfig
arch/arm64/kvm/Kconfig
arch/ia64/Kconfig
arch/m68k/Kconfig
arch/mips/kvm/Kconfig
arch/openrisc/Kconfig
arch/powerpc/Kconfig
arch/powerpc/kvm/Kconfig
arch/riscv/Kconfig
arch/s390/Kconfig
arch/s390/kvm/Kconfig
arch/sh/Kconfig
arch/sparc/Kconfig
arch/x86/Kconfig
arch/x86/kvm/Kconfig
block/Kconfig
crypto/Kconfig
drivers/crypto/Kconfig
drivers/gpu/drm/i915/Kconfig
drivers/hwmon/Kconfig
drivers/i2c/Kconfig
drivers/pps/Kconfig
drivers/ras/Kconfig
drivers/thermal/Kconfig
drivers/w1/Kconfig
lib/Kconfig.debug
security/Kconfig
security/integrity/Kconfig

index 91be74d8df658ccd5a4701fe7438053115dceeb9..0a7faf82250e0d5451394307a47791194736c68a 100644 (file)
@@ -910,7 +910,7 @@ config PLAT_VERSATILE
 
 source "arch/arm/firmware/Kconfig"
 
-source arch/arm/mm/Kconfig
+source "arch/arm/mm/Kconfig"
 
 config IWMMXT
        bool "Enable iWMMXt support"
index e2bd35b6780cd6c859758a276cea0cf3b29eada2..3f5320f46de2df1251b840680f3a8e75179027d1 100644 (file)
@@ -55,6 +55,6 @@ config KVM_ARM_HOST
        ---help---
          Provides host support for ARM processors.
 
-source drivers/vhost/Kconfig
+source "drivers/vhost/Kconfig"
 
 endif # VIRTUALIZATION
index 787d7850e0643d80197e29bcfbfedf6d40ab46eb..04e525fc5a0f40c7fa7c55f61598428f9bdc07a2 100644 (file)
@@ -782,7 +782,7 @@ config NEED_PER_CPU_EMBED_FIRST_CHUNK
 config HOLES_IN_ZONE
        def_bool y
 
-source kernel/Kconfig.hz
+source "kernel/Kconfig.hz"
 
 config ARCH_SUPPORTS_DEBUG_PAGEALLOC
        def_bool y
index 47b23bf617c76a01516168b8eb0c8e3ea1d64505..a3f85624313ea58b42dabc548c459ba7ebc0adb3 100644 (file)
@@ -61,6 +61,6 @@ config KVM_ARM_PMU
 config KVM_INDIRECT_VECTORS
        def_bool KVM && (HARDEN_BRANCH_PREDICTOR || HARDEN_EL2_VECTORS)
 
-source drivers/vhost/Kconfig
+source "drivers/vhost/Kconfig"
 
 endif # VIRTUALIZATION
index 36773def6920b4104a0c190b306e2aaf8019bd36..0ef105ac40f6e24a66cde84fb85c0935566c6e5a 100644 (file)
@@ -261,7 +261,7 @@ config HZ
 endif
 
 if !IA64_HP_SIM
-source kernel/Kconfig.hz
+source "kernel/Kconfig.hz"
 endif
 
 config IA64_BRL_EMU
index 1bc9f1ba759a7bb3ab66c1f53ef531642048070b..6f18c45f7703c547f894d7fe30d12173204ed052 100644 (file)
@@ -123,11 +123,11 @@ config BOOTINFO_PROC
 
 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
 
index 76b93a9c8c9b2578b9950767d9b02f31309e1efa..c36930226b7b0b5411f9eb8a81a1a60751823286 100644 (file)
@@ -72,6 +72,6 @@ config KVM_MIPS_DEBUG_COP0_COUNTERS
 
          If unsure, say N.
 
-source drivers/vhost/Kconfig
+source "drivers/vhost/Kconfig"
 
 endif # VIRTUALIZATION
index 285f7d05c8ed2d9a1a6b230b7d14009274dbb1ae..d765b4a5e05f83373a5650aa7680abba4ebea1cc 100644 (file)
@@ -139,7 +139,7 @@ config SMP
 
          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
        bool "use SPR_SR_DSX software emulation" if OR1K_1200
index 8be31261aec83190a65927854d214d613244c164..e1307d66c76b4cf01d009e9ee43e74f83d30d956 100644 (file)
@@ -393,7 +393,7 @@ config HIGHMEM
        bool "High memory support"
        depends on PPC32
 
-source kernel/Kconfig.hz
+source "kernel/Kconfig.hz"
 
 config HUGETLB_PAGE_SIZE_VARIABLE
        bool
@@ -816,7 +816,7 @@ config ARCH_WANTS_FREEZER_CONTROL
        def_bool y
        depends on ADB_PMU
 
-source kernel/power/Kconfig
+source "kernel/power/Kconfig"
 
 config SECCOMP
        bool "Enable seccomp to safely compute untrusted bytecode"
index 68a0e9d5b44023579daad3602ca89433f94a1208..bfdde04e49051473c126ff0819f981403216a9ef 100644 (file)
@@ -204,6 +204,6 @@ config KVM_XIVE
        default y
        depends on KVM_XICS && PPC_XIVE_NATIVE && KVM_BOOK3S_HV_POSSIBLE
 
-source drivers/vhost/Kconfig
+source "drivers/vhost/Kconfig"
 
 endif # VIRTUALIZATION
index 55da93f4e818e22ff1918aa625a56dde5bc56019..4f428ab4429fd45eeadda75d06d4175ad3b519f0 100644 (file)
@@ -287,6 +287,6 @@ endmenu
 
 menu "Power management options"
 
-source kernel/power/Kconfig
+source "kernel/power/Kconfig"
 
 endmenu
index 5173366af8f359b98d9683afd6a9e105c7a7a910..48de9d32b83397a604311d0e0164688c6301265a 100644 (file)
@@ -520,7 +520,7 @@ config SCHED_TOPOLOGY
          making when dealing with machines that have multi-threading,
          multiple cores or multiple books.
 
-source kernel/Kconfig.hz
+source "kernel/Kconfig.hz"
 
 config KEXEC
        def_bool y
index a3dbd459cce91bf2941222477bec5a085eff10af..767453faacfcd575ba858235cd6f896bebfca162 100644 (file)
@@ -57,6 +57,6 @@ config KVM_S390_UCONTROL
 
 # OK, it's a little counter-intuitive to do this, but it puts it neatly under
 # the virtualization menu.
-source drivers/vhost/Kconfig
+source "drivers/vhost/Kconfig"
 
 endif # VIRTUALIZATION
index f82a4da7adf3fb34d4a8d03bf9a294f3a6312108..b2581b14e46410cb25c6eb8c921758c9c56e2a78 100644 (file)
@@ -597,7 +597,7 @@ endmenu
 
 menu "Kernel features"
 
-source kernel/Kconfig.hz
+source "kernel/Kconfig.hz"
 
 config KEXEC
        bool "kexec system call (EXPERIMENTAL)"
index 490b2c95c212cf794671ec2e72b4458d33fbdde8..29b97f1dd9c52775e69714656cbdc1c5a11bcade 100644 (file)
@@ -187,7 +187,7 @@ config NR_CPUS
        default 32 if SPARC32
        default 4096 if SPARC64
 
-source kernel/Kconfig.hz
+source "kernel/Kconfig.hz"
 
 config RWSEM_GENERIC_SPINLOCK
        bool
index 9d734f3c8234d4bbdd44bb06518a768a6b9b7d02..fd5ac1d89d74388622ed186747f0d6a9a4a45bc6 100644 (file)
@@ -1975,7 +1975,7 @@ config SECCOMP
 
          If unsure, say Y. Only embedded should say N here.
 
-source kernel/Kconfig.hz
+source "kernel/Kconfig.hz"
 
 config KEXEC
        bool "kexec system call"
index 1bbec387d289cb785e4acbd28389e5e071fdfdbb..72fa955f4a15ee27609200e6e483b28e4a1c3925 100644 (file)
@@ -98,6 +98,6 @@ config KVM_MMU_AUDIT
 
 # OK, it's a little counter-intuitive to do this, but it puts it neatly under
 # the virtualization menu.
-source drivers/vhost/Kconfig
+source "drivers/vhost/Kconfig"
 
 endif # VIRTUALIZATION
index f7045aa47edbabebf8ff1c627956f61eebdab812..1b91498109998f198ca4063f2b8454094b41bcdb 100644 (file)
@@ -224,4 +224,4 @@ config BLK_MQ_RDMA
 config BLK_PM
        def_bool BLOCK && PM
 
-source block/Kconfig.iosched
+source "block/Kconfig.iosched"
index f7a235db56aaa78ee8cfa05ef391ff0e09302aba..2c63b52a5fcc5a352d47581281e822d08986f33f 100644 (file)
@@ -1826,7 +1826,7 @@ config CRYPTO_HASH_INFO
        bool
 
 source "drivers/crypto/Kconfig"
-source crypto/asymmetric_keys/Kconfig
-source certs/Kconfig
+source "crypto/asymmetric_keys/Kconfig"
+source "certs/Kconfig"
 
 endif  # if CRYPTO
index caa98a7fe3923bb752cec40f5459633627cc42fa..4db49de39b3e1c31070918bf8c7b2205f2702733 100644 (file)
@@ -258,7 +258,7 @@ config CRYPTO_DEV_HIFN_795X_RNG
          Select this option if you want to enable the random number generator
          on the HIFN 795x crypto adapters.
 
-source drivers/crypto/caam/Kconfig
+source "drivers/crypto/caam/Kconfig"
 
 config CRYPTO_DEV_TALITOS
        tristate "Talitos Freescale Security Engine (SEC)"
index 33a458b7f1fcd1584a176c451094b2a4ff42c8ee..148be8e1a09052db6946714cb375985633b98fe3 100644 (file)
@@ -131,5 +131,5 @@ config DRM_I915_GVT_KVMGT
 menu "drm/i915 Debugging"
 depends on DRM_I915
 depends on EXPERT
-source drivers/gpu/drm/i915/Kconfig.debug
+source "drivers/gpu/drm/i915/Kconfig.debug"
 endmenu
index 81da17a42dc92830bef2968a06d153a51c759f59..9ccbbd39b3c686fa59e50317c9a1e14913680517 100644 (file)
@@ -1306,7 +1306,7 @@ config SENSORS_PCF8591
          These devices are hard to detect and rarely found on mainstream
          hardware.  If unsure, say N.
 
-source drivers/hwmon/pmbus/Kconfig
+source "drivers/hwmon/pmbus/Kconfig"
 
 config SENSORS_PWM_FAN
        tristate "PWM fan"
index efc3354d60ae891226da67a1447c7f0f76f456d1..c6b7fc7b67d6ad1f06af7fa8a2075f5fd2b9fb2a 100644 (file)
@@ -68,7 +68,7 @@ config I2C_MUX
          This support is also available as a module.  If so, the module
          will be called i2c-mux.
 
-source drivers/i2c/muxes/Kconfig
+source "drivers/i2c/muxes/Kconfig"
 
 config I2C_HELPER_AUTO
        bool "Autoselect pertinent helper modules"
@@ -94,8 +94,8 @@ config I2C_SMBUS
          This support is also available as a module.  If so, the module
          will be called i2c-smbus.
 
-source drivers/i2c/algos/Kconfig
-source drivers/i2c/busses/Kconfig
+source "drivers/i2c/algos/Kconfig"
+source "drivers/i2c/busses/Kconfig"
 
 config I2C_STUB
        tristate "I2C/SMBus Test Stub"
index c6008f296605587660a0c6c4baad34bd18c78403..965aa086a1e0f1c57d958d91ef9c0bda7a44009c 100644 (file)
@@ -37,8 +37,8 @@ config NTP_PPS
 
          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
index 4c3c67d13254aff48b41d4748e7d7d55bd6f220f..b834ff555188dffbf32d663a691e9f758c02ca1f 100644 (file)
@@ -30,6 +30,6 @@ menuconfig RAS
 
 if RAS
 
-source arch/x86/ras/Kconfig
+source "arch/x86/ras/Kconfig"
 
 endif
index 5422523c03f8638746b8a2b3a7fece4809a28f9c..5fbfabbf627b8f94344b7804abd805b1cb5227e4 100644 (file)
@@ -383,7 +383,7 @@ config INTEL_QUARK_DTS_THERMAL
          underlying BIOS/Firmware.
 
 menu "ACPI INT340X thermal drivers"
-source drivers/thermal/int340x_thermal/Kconfig
+source "drivers/thermal/int340x_thermal/Kconfig"
 endmenu
 
 config INTEL_BXT_PMIC_THERMAL
index 6743bde038cc656972d42b2e7078026056b3dc27..dbb41f45af8aa1e3b31b7f42ef07251fda15b02a 100644 (file)
@@ -25,7 +25,7 @@ config W1_CON
          2. Userspace commands. Includes read/write and search/alarm search commands.
          3. Replies to userspace commands.
 
-source drivers/w1/masters/Kconfig
-source drivers/w1/slaves/Kconfig
+source "drivers/w1/masters/Kconfig"
+source "drivers/w1/slaves/Kconfig"
 
 endif # W1
index 1af29b8224fdff289c210af95d3d9228769dbd2e..08a95da1adccd71aaa7e558d89249d4d0d6ff4fc 100644 (file)
@@ -439,7 +439,7 @@ config DEBUG_KERNEL
 
 menu "Memory Debugging"
 
-source mm/Kconfig.debug
+source "mm/Kconfig.debug"
 
 config DEBUG_OBJECTS
        bool "Debug object operations"
@@ -1609,7 +1609,7 @@ config LATENCYTOP
          Enable this option if you want to use the LatencyTOP tool
          to find out which userspace is blocking on what kernel operations.
 
-source kernel/trace/Kconfig
+source "kernel/trace/Kconfig"
 
 config PROVIDE_OHCI1394_DMA_INIT
        bool "Remote debugging over FireWire early on boot"
index d9aa521b52063501fce79062e35324a3c9046ec0..e4fe2f3c2c65a00eb8ea794178c73998b0e567de 100644 (file)
@@ -4,7 +4,7 @@
 
 menu "Security options"
 
-source security/keys/Kconfig
+source "security/keys/Kconfig"
 
 config SECURITY_DMESG_RESTRICT
        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,
          specify an empty string here (i.e. "").
 
-source security/selinux/Kconfig
-source security/smack/Kconfig
-source security/tomoyo/Kconfig
-source security/apparmor/Kconfig
-source security/loadpin/Kconfig
-source security/yama/Kconfig
+source "security/selinux/Kconfig"
+source "security/smack/Kconfig"
+source "security/tomoyo/Kconfig"
+source "security/apparmor/Kconfig"
+source "security/loadpin/Kconfig"
+source "security/yama/Kconfig"
 
-source security/integrity/Kconfig
+source "security/integrity/Kconfig"
 
 choice
        prompt "Default security module"
index da9565891738d6c9836804c513595f5f6e238758..877af1f2d9045814f02c7691f2226734438e3449 100644 (file)
@@ -66,7 +66,7 @@ config INTEGRITY_AUDIT
          be enabled by specifying 'integrity_audit=1' on the kernel
          command line.
 
-source security/integrity/ima/Kconfig
-source security/integrity/evm/Kconfig
+source "security/integrity/ima/Kconfig"
+source "security/integrity/evm/Kconfig"
 
 endif   # if INTEGRITY