linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] pci: Fix Kconfig indentation
@ 2019-11-20 13:40 Krzysztof Kozlowski
  2019-11-21 21:10 ` Bjorn Helgaas
  0 siblings, 1 reply; 2+ messages in thread
From: Krzysztof Kozlowski @ 2019-11-20 13:40 UTC (permalink / raw)
  To: linux-kernel
  Cc: Krzysztof Kozlowski, Bjorn Helgaas, Lorenzo Pieralisi,
	Andrew Murray, linux-pci

Adjust indentation from spaces to tab (+optional two spaces) as in
coding style with command like:
	$ sed -e 's/^        /\t/' -i */Kconfig

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 drivers/pci/Kconfig                | 24 ++++++++++++------------
 drivers/pci/controller/dwc/Kconfig |  6 +++---
 drivers/pci/hotplug/Kconfig        |  2 +-
 3 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig
index 77c1428cd945..4bef5c2bae9f 100644
--- a/drivers/pci/Kconfig
+++ b/drivers/pci/Kconfig
@@ -106,14 +106,14 @@ config PCI_PF_STUB
 	  When in doubt, say N.
 
 config XEN_PCIDEV_FRONTEND
-        tristate "Xen PCI Frontend"
-        depends on X86 && XEN
-        select PCI_XEN
+	tristate "Xen PCI Frontend"
+	depends on X86 && XEN
+	select PCI_XEN
 	select XEN_XENBUS_FRONTEND
-        default y
-        help
-          The PCI device frontend driver allows the kernel to import arbitrary
-          PCI devices from a PCI backend to support PCI driver domains.
+	default y
+	help
+	  The PCI device frontend driver allows the kernel to import arbitrary
+	  PCI devices from a PCI backend to support PCI driver domains.
 
 config PCI_ATS
 	bool
@@ -180,12 +180,12 @@ config PCI_LABEL
 	select NLS
 
 config PCI_HYPERV
-        tristate "Hyper-V PCI Frontend"
-        depends on X86_64 && HYPERV && PCI_MSI && PCI_MSI_IRQ_DOMAIN && SYSFS
+	tristate "Hyper-V PCI Frontend"
+	depends on X86_64 && HYPERV && PCI_MSI && PCI_MSI_IRQ_DOMAIN && SYSFS
 	select PCI_HYPERV_INTERFACE
-        help
-          The PCI device frontend driver allows the kernel to import arbitrary
-          PCI devices from a PCI backend to support PCI driver domains.
+	help
+	  The PCI device frontend driver allows the kernel to import arbitrary
+	  PCI devices from a PCI backend to support PCI driver domains.
 
 source "drivers/pci/hotplug/Kconfig"
 source "drivers/pci/controller/Kconfig"
diff --git a/drivers/pci/controller/dwc/Kconfig b/drivers/pci/controller/dwc/Kconfig
index 0ba988b5b5bc..625a031b2193 100644
--- a/drivers/pci/controller/dwc/Kconfig
+++ b/drivers/pci/controller/dwc/Kconfig
@@ -7,9 +7,9 @@ config PCIE_DW
 	bool
 
 config PCIE_DW_HOST
-        bool
+	bool
 	depends on PCI_MSI_IRQ_DOMAIN
-        select PCIE_DW
+	select PCIE_DW
 
 config PCIE_DW_EP
 	bool
@@ -224,7 +224,7 @@ config PCIE_HISI_STB
 	depends on PCI_MSI_IRQ_DOMAIN
 	select PCIE_DW_HOST
 	help
-          Say Y here if you want PCIe controller support on HiSilicon STB SoCs
+	  Say Y here if you want PCIe controller support on HiSilicon STB SoCs
 
 config PCI_MESON
 	bool "MESON PCIe controller"
diff --git a/drivers/pci/hotplug/Kconfig b/drivers/pci/hotplug/Kconfig
index e7b493c22bf3..32455a79372d 100644
--- a/drivers/pci/hotplug/Kconfig
+++ b/drivers/pci/hotplug/Kconfig
@@ -83,7 +83,7 @@ config HOTPLUG_PCI_CPCI_ZT5550
 	depends on HOTPLUG_PCI_CPCI && X86
 	help
 	  Say Y here if you have an Performance Technologies (formerly Intel,
-          formerly just Ziatech) Ziatech ZT5550 CompactPCI system card.
+	  formerly just Ziatech) Ziatech ZT5550 CompactPCI system card.
 
 	  To compile this driver as a module, choose M here: the
 	  module will be called cpcihp_zt5550.
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] pci: Fix Kconfig indentation
  2019-11-20 13:40 [PATCH] pci: Fix Kconfig indentation Krzysztof Kozlowski
@ 2019-11-21 21:10 ` Bjorn Helgaas
  0 siblings, 0 replies; 2+ messages in thread
From: Bjorn Helgaas @ 2019-11-21 21:10 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: linux-kernel, Lorenzo Pieralisi, Andrew Murray, linux-pci, Jon Derrick

[+cc Jon, just FYI, no action required]

On Wed, Nov 20, 2019 at 09:40:36PM +0800, Krzysztof Kozlowski wrote:
> Adjust indentation from spaces to tab (+optional two spaces) as in
> coding style with command like:
> 	$ sed -e 's/^        /\t/' -i */Kconfig
> 
> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>

Applied to pci/trivial for v5.5, thanks!

I applied the same change to drivers/pci/controller/vmd.c, the only
other file in drivers/pci I found with eight leading spaces.

> ---
>  drivers/pci/Kconfig                | 24 ++++++++++++------------
>  drivers/pci/controller/dwc/Kconfig |  6 +++---
>  drivers/pci/hotplug/Kconfig        |  2 +-
>  3 files changed, 16 insertions(+), 16 deletions(-)
> 
> diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig
> index 77c1428cd945..4bef5c2bae9f 100644
> --- a/drivers/pci/Kconfig
> +++ b/drivers/pci/Kconfig
> @@ -106,14 +106,14 @@ config PCI_PF_STUB
>  	  When in doubt, say N.
>  
>  config XEN_PCIDEV_FRONTEND
> -        tristate "Xen PCI Frontend"
> -        depends on X86 && XEN
> -        select PCI_XEN
> +	tristate "Xen PCI Frontend"
> +	depends on X86 && XEN
> +	select PCI_XEN
>  	select XEN_XENBUS_FRONTEND
> -        default y
> -        help
> -          The PCI device frontend driver allows the kernel to import arbitrary
> -          PCI devices from a PCI backend to support PCI driver domains.
> +	default y
> +	help
> +	  The PCI device frontend driver allows the kernel to import arbitrary
> +	  PCI devices from a PCI backend to support PCI driver domains.
>  
>  config PCI_ATS
>  	bool
> @@ -180,12 +180,12 @@ config PCI_LABEL
>  	select NLS
>  
>  config PCI_HYPERV
> -        tristate "Hyper-V PCI Frontend"
> -        depends on X86_64 && HYPERV && PCI_MSI && PCI_MSI_IRQ_DOMAIN && SYSFS
> +	tristate "Hyper-V PCI Frontend"
> +	depends on X86_64 && HYPERV && PCI_MSI && PCI_MSI_IRQ_DOMAIN && SYSFS
>  	select PCI_HYPERV_INTERFACE
> -        help
> -          The PCI device frontend driver allows the kernel to import arbitrary
> -          PCI devices from a PCI backend to support PCI driver domains.
> +	help
> +	  The PCI device frontend driver allows the kernel to import arbitrary
> +	  PCI devices from a PCI backend to support PCI driver domains.
>  
>  source "drivers/pci/hotplug/Kconfig"
>  source "drivers/pci/controller/Kconfig"
> diff --git a/drivers/pci/controller/dwc/Kconfig b/drivers/pci/controller/dwc/Kconfig
> index 0ba988b5b5bc..625a031b2193 100644
> --- a/drivers/pci/controller/dwc/Kconfig
> +++ b/drivers/pci/controller/dwc/Kconfig
> @@ -7,9 +7,9 @@ config PCIE_DW
>  	bool
>  
>  config PCIE_DW_HOST
> -        bool
> +	bool
>  	depends on PCI_MSI_IRQ_DOMAIN
> -        select PCIE_DW
> +	select PCIE_DW
>  
>  config PCIE_DW_EP
>  	bool
> @@ -224,7 +224,7 @@ config PCIE_HISI_STB
>  	depends on PCI_MSI_IRQ_DOMAIN
>  	select PCIE_DW_HOST
>  	help
> -          Say Y here if you want PCIe controller support on HiSilicon STB SoCs
> +	  Say Y here if you want PCIe controller support on HiSilicon STB SoCs
>  
>  config PCI_MESON
>  	bool "MESON PCIe controller"
> diff --git a/drivers/pci/hotplug/Kconfig b/drivers/pci/hotplug/Kconfig
> index e7b493c22bf3..32455a79372d 100644
> --- a/drivers/pci/hotplug/Kconfig
> +++ b/drivers/pci/hotplug/Kconfig
> @@ -83,7 +83,7 @@ config HOTPLUG_PCI_CPCI_ZT5550
>  	depends on HOTPLUG_PCI_CPCI && X86
>  	help
>  	  Say Y here if you have an Performance Technologies (formerly Intel,
> -          formerly just Ziatech) Ziatech ZT5550 CompactPCI system card.
> +	  formerly just Ziatech) Ziatech ZT5550 CompactPCI system card.
>  
>  	  To compile this driver as a module, choose M here: the
>  	  module will be called cpcihp_zt5550.
> -- 
> 2.17.1
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-11-21 21:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-20 13:40 [PATCH] pci: Fix Kconfig indentation Krzysztof Kozlowski
2019-11-21 21:10 ` Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).