From 009e4dafa7da6d8a8dd3da60ed0f574be27e9262 Mon Sep 17 00:00:00 2001 From: Jukka Rissanen Date: Fri, 5 Oct 2018 15:14:58 +0300 Subject: [PATCH] net: Make Kconfig template variables prettier Adding spaces around "=" when definining Kconfig template so that is more consistent with overall style of these template variables. Signed-off-by: Jukka Rissanen --- drivers/ethernet/Kconfig | 8 ++++---- drivers/ieee802154/Kconfig | 8 ++++---- drivers/net/Kconfig | 16 ++++++++-------- subsys/net/Kconfig | 8 ++++---- subsys/net/lib/app/Kconfig | 8 ++++---- subsys/net/lib/coap/Kconfig | 8 ++++---- subsys/net/lib/config/Kconfig | 8 ++++---- subsys/net/lib/dns/Kconfig | 24 ++++++++++++------------ subsys/net/lib/http/Kconfig | 8 ++++---- subsys/net/lib/lwm2m/Kconfig | 6 +++--- subsys/net/lib/sntp/Kconfig | 8 ++++---- subsys/net/lib/sockets/Kconfig | 8 ++++---- subsys/net/lib/websocket/Kconfig | 8 ++++---- subsys/usb/class/netusb/Kconfig | 6 +++--- 14 files changed, 66 insertions(+), 66 deletions(-) diff --git a/drivers/ethernet/Kconfig b/drivers/ethernet/Kconfig index bd70c15a3fb..9c44beba43d 100644 --- a/drivers/ethernet/Kconfig +++ b/drivers/ethernet/Kconfig @@ -9,10 +9,10 @@ menu "Ethernet Drivers" if NET_L2_ETHERNET -module=ETHERNET -module-dep=LOG -module-str=Log level for Ethernet driver -module-help=Sets log level for Ethernet Device Drivers. +module = ETHERNET +module-dep = LOG +module-str = Log level for Ethernet driver +module-help = Sets log level for Ethernet Device Drivers. source "subsys/net/Kconfig.template.log_config.net" endif # NET_L2_ETHERNET diff --git a/drivers/ieee802154/Kconfig b/drivers/ieee802154/Kconfig index b8f31e7603c..1cfa3685a77 100644 --- a/drivers/ieee802154/Kconfig +++ b/drivers/ieee802154/Kconfig @@ -16,10 +16,10 @@ menuconfig IEEE802154 if IEEE802154 if NET_L2_IEEE802154 -module=IEEE802154 -module-dep=LOG -module-str=Log level for IEEE 802.15.4 driver -module-help=Sets log level for IEEE 802.15.4 Device Drivers. +module = IEEE802154 +module-dep = LOG +module-str = Log level for IEEE 802.15.4 driver +module-help = Sets log level for IEEE 802.15.4 Device Drivers. source "subsys/net/Kconfig.template.log_config.net" endif # NET_L2_IEEE802154 diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 2aa52a86082..ba81db89547 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -56,10 +56,10 @@ config SLIP_MTU data into net_buf's. The actual SLIP connection does not use this value. -module=SLIP -module-dep=LOG -module-str=Log level for slip driver -module-help=Sets log level for slip driver. +module = SLIP +module-dep = LOG +module-str = Log level for slip driver +module-help = Sets log level for slip driver. source "subsys/net/Kconfig.template.log_config.net" config SLIP_STATISTICS @@ -95,10 +95,10 @@ menuconfig NET_LOOPBACK if NET_LOOPBACK -module=NET_LOOPBACK -module-dep=LOG -module-str=Log level for network loopback driver -module-help=Sets log level for network loopback driver. +module = NET_LOOPBACK +module-dep = LOG +module-str = Log level for network loopback driver +module-help = Sets log level for network loopback driver. source "subsys/net/Kconfig.template.log_config.net" endif diff --git a/subsys/net/Kconfig b/subsys/net/Kconfig index 2258d2cf2bf..501c7f9b496 100644 --- a/subsys/net/Kconfig +++ b/subsys/net/Kconfig @@ -33,10 +33,10 @@ config NET_BUF_LOG if NET_BUF_LOG -module=NET_BUF -module-dep=LOG -module-str=Log level for network buffer handling -module-help=Sets log level for network buffers. +module = NET_BUF +module-dep = LOG +module-str = Log level for network buffer handling +module-help = Sets log level for network buffers. source "subsys/net/Kconfig.template.log_config.net" config NET_BUF_WARN_ALLOC_INTERVAL diff --git a/subsys/net/lib/app/Kconfig b/subsys/net/lib/app/Kconfig index 7ecd0973605..31267471fa2 100644 --- a/subsys/net/lib/app/Kconfig +++ b/subsys/net/lib/app/Kconfig @@ -17,10 +17,10 @@ menuconfig NET_APP if NET_APP -module=NET_APP -module-dep=NET_LOG -module-str=Log level for net_app library -module-help=Enables net app library to output debug messages. +module = NET_APP +module-dep = NET_LOG +module-str = Log level for net_app library +module-help = Enables net app library to output debug messages. source "subsys/net/Kconfig.template.log_config.net" config NET_APP_SERVER diff --git a/subsys/net/lib/coap/Kconfig b/subsys/net/lib/coap/Kconfig index daf01f591a9..0879d5d71bf 100644 --- a/subsys/net/lib/coap/Kconfig +++ b/subsys/net/lib/coap/Kconfig @@ -63,9 +63,9 @@ config COAP_INIT_ACK_TIMEOUT_MS This value is used as a base value to retry pending CoAP packets. if COAP -module=COAP -module-dep=NET_LOG -module-str=Log level for CoAP -module-help=Enables CoAP debug messages. +module = COAP +module-dep = NET_LOG +module-str = Log level for CoAP +module-help = Enables CoAP debug messages. source "subsys/net/Kconfig.template.log_config.net" endif # COAP diff --git a/subsys/net/lib/config/Kconfig b/subsys/net/lib/config/Kconfig index a8eb810bf91..041eb430989 100644 --- a/subsys/net/lib/config/Kconfig +++ b/subsys/net/lib/config/Kconfig @@ -55,10 +55,10 @@ config NET_CONFIG_NEED_IPV4 This option makes sure the network application is initialized properly in order to use IPv4. -module=NET_CONFIG -module-dep=NET_LOG -module-str=Log level for network config library -module-help=Enables net config library to output debug messages. +module = NET_CONFIG +module-dep = NET_LOG +module-str = Log level for network config library +module-help = Enables net config library to output debug messages. source "subsys/net/Kconfig.template.log_config.net" menuconfig NET_CONFIG_SETTINGS diff --git a/subsys/net/lib/dns/Kconfig b/subsys/net/lib/dns/Kconfig index d80458ae421..cb8be6132e4 100644 --- a/subsys/net/lib/dns/Kconfig +++ b/subsys/net/lib/dns/Kconfig @@ -108,10 +108,10 @@ config DNS_NUM_CONCUR_QUERIES This defines how many concurrent DNS queries can be generated using same DNS context. Normally 1 is a good default value. -module=DNS_RESOLVER -module-dep=NET_LOG -module-str=Log level for DNS resolver -module-help=Enables DNS resolver code to output debug messages. +module = DNS_RESOLVER +module-dep = NET_LOG +module-str = Log level for DNS resolver +module-help = Enables DNS resolver code to output debug messages. source "subsys/net/Kconfig.template.log_config.net" endif # DNS_RESOLVER @@ -143,10 +143,10 @@ config MDNS_RESPONDER_INIT_PRIO Note that if NET_CONFIG_AUTO_INIT is enabled, then this value should be bigger than its value. -module=MDNS_RESPONDER -module-dep=NET_LOG -module-str=Log level for mDNS responder -module-help=Enables mDNS responder code to output debug messages. +module = MDNS_RESPONDER +module-dep = NET_LOG +module-str = Log level for mDNS responder +module-help = Enables mDNS responder code to output debug messages. source "subsys/net/Kconfig.template.log_config.net" config MDNS_RESOLVER_ADDITIONAL_BUF_CTR @@ -188,10 +188,10 @@ config LLMNR_RESPONDER_INIT_PRIO Note that if NET_CONFIG_AUTO_INIT is enabled, then this value should be bigger than its value. -module=LLMNR_RESPONDER -module-dep=NET_LOG -module-str=Log level for LLMNR responder -module-help=Enables LLMNR responder code to output debug messages. +module = LLMNR_RESPONDER +module-dep = NET_LOG +module-str = Log level for LLMNR responder +module-help = Enables LLMNR responder code to output debug messages. source "subsys/net/Kconfig.template.log_config.net" config LLMNR_RESOLVER_ADDITIONAL_BUF_CTR diff --git a/subsys/net/lib/http/Kconfig b/subsys/net/lib/http/Kconfig index 246c858b0de..a40d2124252 100644 --- a/subsys/net/lib/http/Kconfig +++ b/subsys/net/lib/http/Kconfig @@ -67,10 +67,10 @@ config HTTP_CLIENT_NETWORK_TIMEOUT Default network activity timeout in seconds. This setting is used for TCP connection timeout. -module=HTTP -module-dep=NET_LOG -module-str=Log level for HTTP -module-help=Enables routing engine debug messages. +module = HTTP +module-dep = NET_LOG +module-str = Log level for HTTP +module-help = Enables routing engine debug messages. source "subsys/net/Kconfig.template.log_config.net" config NET_DEBUG_HTTP_CONN diff --git a/subsys/net/lib/lwm2m/Kconfig b/subsys/net/lib/lwm2m/Kconfig index 119af0675c3..ad403e151fe 100644 --- a/subsys/net/lib/lwm2m/Kconfig +++ b/subsys/net/lib/lwm2m/Kconfig @@ -14,9 +14,9 @@ menuconfig LWM2M if LWM2M -module=LWM2M -module-dep=LOG -module-str=Log level for LWM2M library +module = LWM2M +module-dep = LOG +module-str = Log level for LWM2M library source "subsys/net/Kconfig.template.log_config.net" config LWM2M_ENGINE_STACK_SIZE diff --git a/subsys/net/lib/sntp/Kconfig b/subsys/net/lib/sntp/Kconfig index 085717181aa..035188c855c 100644 --- a/subsys/net/lib/sntp/Kconfig +++ b/subsys/net/lib/sntp/Kconfig @@ -12,10 +12,10 @@ menuconfig SNTP if SNTP -module=SNTP -module-dep=NET_LOG -module-str=Log level for SNTP -module-help=Enable debug message of SNTP client library. +module = SNTP +module-dep = NET_LOG +module-str = Log level for SNTP +module-help = Enable debug message of SNTP client library. source "subsys/net/Kconfig.template.log_config.net" endif # SNTP diff --git a/subsys/net/lib/sockets/Kconfig b/subsys/net/lib/sockets/Kconfig index ecd897206b0..46f107b2add 100644 --- a/subsys/net/lib/sockets/Kconfig +++ b/subsys/net/lib/sockets/Kconfig @@ -96,10 +96,10 @@ config NET_SOCKETS_OFFLOAD See NET_OFFLOAD for a more deeply integrated approach which offloads from the net_context() API within the Zephyr IP stack. -module=NET_SOCKETS -module-dep=NET_LOG -module-str=Log level for BSD sockets compatible API calls -module-help=Enables logging for sockets code. +module = NET_SOCKETS +module-dep = NET_LOG +module-str = Log level for BSD sockets compatible API calls +module-help = Enables logging for sockets code. source "subsys/net/Kconfig.template.log_config.net" endif # NET_SOCKETS diff --git a/subsys/net/lib/websocket/Kconfig b/subsys/net/lib/websocket/Kconfig index bdd1b040ded..b70cad3389e 100644 --- a/subsys/net/lib/websocket/Kconfig +++ b/subsys/net/lib/websocket/Kconfig @@ -13,10 +13,10 @@ menuconfig WEBSOCKET if WEBSOCKET -module=WEBSOCKET -module-dep=NET_LOG -module-str=Log level for weboscket library -module-help=Enables websocket library to output debug messages. +module = WEBSOCKET +module-dep = NET_LOG +module-str = Log level for weboscket library +module-help = Enables websocket library to output debug messages. source "subsys/net/Kconfig.template.log_config.net" endif # WEBSOCKET diff --git a/subsys/usb/class/netusb/Kconfig b/subsys/usb/class/netusb/Kconfig index fa53080c208..42644fb7af3 100644 --- a/subsys/usb/class/netusb/Kconfig +++ b/subsys/usb/class/netusb/Kconfig @@ -87,9 +87,9 @@ endif # USB_DEVICE_NETWORK_RNDIS if USB_DEVICE_NETWORK -module=USB_DEVICE_NETWORK -module-dep=LOG -module-str=USR Device Network log level +module = USB_DEVICE_NETWORK +module-dep = LOG +module-str = USB Device Network log level source "subsys/net/Kconfig.template.log_config.net" endif # USB_DEVICE_NETWORK