Skip to contentSkip to conversation

scsi: Fix Kconfig indentation

PATCH In review Krzysztof Kozlowski 2 participants 2 messages Nov 20, 2019

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scsi: Fix Kconfig indentation

Adjust indentation from spaces to tab (+optional two spaces) as in coding style with command like:

	$ sed -e 's/^        /\t/' -i */Kconfig
---
 drivers/scsi/Kconfig                 | 22 +++++++++++-----------
 drivers/scsi/aic7xxx/Kconfig.aic7xxx | 14 +++++++-------
 drivers/scsi/pcmcia/Kconfig          |  2 +-
 drivers/scsi/qedf/Kconfig            |  4 ++--
 drivers/scsi/smartpqi/Kconfig        |  8 ++++----
 5 files changed, 25 insertions(+), 25 deletions(-)
drivers/scsi/Kconfig +11 -11
index 90cf4691b8c3..de6b99573f9e 100644
@@ -1166,8 +1166,8 @@ config SCSI_LPFC
 	depends on NVME_FC || NVME_FC=n
 	select CRC_T10DIF
 	---help---
-          This lpfc driver supports the Emulex LightPulse
-          Family of Fibre Channel PCI host adapters.
+	  This lpfc driver supports the Emulex LightPulse
+	  Family of Fibre Channel PCI host adapters.
 
 config SCSI_LPFC_DEBUG_FS
 	bool "Emulex LightPulse Fibre Channel debugfs Support"
@@ -1480,14 +1480,14 @@ config ZFCP
 	depends on S390 && QDIO && SCSI
 	depends on SCSI_FC_ATTRS
 	help
-          If you want to access SCSI devices attached to your IBM eServer
-          zSeries by means of Fibre Channel interfaces say Y.
-          For details please refer to the documentation provided by IBM at
-          <http://oss.software.ibm.com/developerworks/opensource/linux390>
+	  If you want to access SCSI devices attached to your IBM eServer
+	  zSeries by means of Fibre Channel interfaces say Y.
+	  For details please refer to the documentation provided by IBM at
+	  <http://oss.software.ibm.com/developerworks/opensource/linux390>
 
-          This driver is also available as a module. This module will be
-          called zfcp. If you want to compile it as a module, say M here
-          and read <file:Documentation/kbuild/modules.rst>.
+	  This driver is also available as a module. This module will be
+	  called zfcp. If you want to compile it as a module, say M here
+	  and read <file:Documentation/kbuild/modules.rst>.
 
 config SCSI_PMCRAID
 	tristate "PMC SIERRA Linux MaxRAID adapter support"
@@ -1518,8 +1518,8 @@ config SCSI_VIRTIO
 	tristate "virtio-scsi support"
 	depends on VIRTIO
 	help
-          This is the virtual HBA driver for virtio.  If the kernel will
-          be used in a virtual machine, say Y or M.
+	  This is the virtual HBA driver for virtio.  If the kernel will
+	  be used in a virtual machine, say Y or M.
 
 source "drivers/scsi/csiostor/Kconfig"
 
drivers/scsi/aic7xxx/Kconfig.aic7xxx +7 -7
index 3546b8cc401f..4ed44ba4a55b 100644
@@ -71,20 +71,20 @@ config AIC7XXX_DEBUG_ENABLE
 	driver errors.
 
 config AIC7XXX_DEBUG_MASK
-        int "Debug code enable mask (2047 for all debugging)"
-        depends on SCSI_AIC7XXX
-        default "0"
-        help
+	int "Debug code enable mask (2047 for all debugging)"
+	depends on SCSI_AIC7XXX
+	default "0"
+	help
 	Bit mask of debug options that is only valid if the
 	CONFIG_AIC7XXX_DEBUG_ENABLE option is enabled.  The bits in this mask
 	are defined in the drivers/scsi/aic7xxx/aic7xxx.h - search for the
 	variable ahc_debug in that file to find them.
 
 config AIC7XXX_REG_PRETTY_PRINT
-        bool "Decode registers during diagnostics"
-        depends on SCSI_AIC7XXX
+	bool "Decode registers during diagnostics"
+	depends on SCSI_AIC7XXX
 	default y
-        help
+	help
 	Compile in register value tables for the output of expanded register
 	contents in diagnostics.  This make it much easier to understand debug
 	output without having to refer to a data book and/or the aic7xxx.reg
drivers/scsi/pcmcia/Kconfig +1 -1
index dc9b74c9348a..a7920fc95e7d 100644
@@ -56,7 +56,7 @@ config PCMCIA_NINJA_SCSI
 	    [I-O DATA (OEM) (version string: "IO DATA","CBSC16       ","1")]
 	    I-O DATA CBSC-II
 	    [Kyusyu Matsushita Kotobuki (OEM)
-               (version string: "KME    ","SCSI-CARD-001","1")]
+	       (version string: "KME    ","SCSI-CARD-001","1")]
 	    KME KXL-820AN's card
 	    HP M820e CDRW's card
 	    etc.
drivers/scsi/qedf/Kconfig +2 -2
index 7cd993be4e57..80328dbd44c9 100644
@@ -3,8 +3,8 @@ config QEDF
 	tristate "QLogic QEDF 25/40/100Gb FCoE Initiator Driver Support"
 	depends on PCI && SCSI
 	depends on QED
-        depends on LIBFC
-        depends on LIBFCOE
+	depends on LIBFC
+	depends on LIBFCOE
 	select QED_LL2
 	select QED_FCOE
 	---help---
drivers/scsi/smartpqi/Kconfig +4 -4
index bc6506884e3b..456ec474fa17 100644
@@ -50,7 +50,7 @@ config SCSI_SMARTPQI
 	To compile this driver as a module, choose M here: the
 	module will be called smartpqi.
 
-        Note: the aacraid driver will not manage a smartpqi
-              controller. You need to enable smartpqi for smartpqi
-              controllers. For more information, please see
-              Documentation/scsi/smartpqi.txt
+	Note: the aacraid driver will not manage a smartpqi
+	      controller. You need to enable smartpqi for smartpqi
+	      controllers. For more information, please see
+	      Documentation/scsi/smartpqi.txt
Signature · 1 line
2.17.1
#1 lore raw
Quoted 4 lines · Krzysztof Kozlowski

Adjust indentation from spaces to tab (+optional two spaces) as in coding style with command like:

	$ sed -e 's/^        /\t/' -i */Kconfig

./scripts/checkpatch.pl -f --strict drivers/scsi/Kconfig

didn't warn of indentation issues for me. To stop this reoccurring, could that be added?

Thanks,
John

Quoted 134 lines
---
  drivers/scsi/Kconfig                 | 22 +++++++++++-----------
  drivers/scsi/aic7xxx/Kconfig.aic7xxx | 14 +++++++-------
  drivers/scsi/pcmcia/Kconfig          |  2 +-
  drivers/scsi/qedf/Kconfig            |  4 ++--
  drivers/scsi/smartpqi/Kconfig        |  8 ++++----
  5 files changed, 25 insertions(+), 25 deletions(-)
drivers/scsi/Kconfig +11 -11
index 90cf4691b8c3..de6b99573f9e 100644
@@ -1166,8 +1166,8 @@ config SCSI_LPFC
  	depends on NVME_FC || NVME_FC=n
  	select CRC_T10DIF
  	---help---
-          This lpfc driver supports the Emulex LightPulse
-          Family of Fibre Channel PCI host adapters.
+	  This lpfc driver supports the Emulex LightPulse
+	  Family of Fibre Channel PCI host adapters.
 
  config SCSI_LPFC_DEBUG_FS
  	bool "Emulex LightPulse Fibre Channel debugfs Support"
@@ -1480,14 +1480,14 @@ config ZFCP
  	depends on S390 && QDIO && SCSI
  	depends on SCSI_FC_ATTRS
  	help
-          If you want to access SCSI devices attached to your IBM eServer
-          zSeries by means of Fibre Channel interfaces say Y.
-          For details please refer to the documentation provided by IBM at
-          <http://oss.software.ibm.com/developerworks/opensource/linux390>
+	  If you want to access SCSI devices attached to your IBM eServer
+	  zSeries by means of Fibre Channel interfaces say Y.
+	  For details please refer to the documentation provided by IBM at
+	  <http://oss.software.ibm.com/developerworks/opensource/linux390>
 
-          This driver is also available as a module. This module will be
-          called zfcp. If you want to compile it as a module, say M here
-          and read <file:Documentation/kbuild/modules.rst>.
+	  This driver is also available as a module. This module will be
+	  called zfcp. If you want to compile it as a module, say M here
+	  and read <file:Documentation/kbuild/modules.rst>.
 
  config SCSI_PMCRAID
  	tristate "PMC SIERRA Linux MaxRAID adapter support"
@@ -1518,8 +1518,8 @@ config SCSI_VIRTIO
  	tristate "virtio-scsi support"
  	depends on VIRTIO
  	help
-          This is the virtual HBA driver for virtio.  If the kernel will
-          be used in a virtual machine, say Y or M.
+	  This is the virtual HBA driver for virtio.  If the kernel will
+	  be used in a virtual machine, say Y or M.
 
  source "drivers/scsi/csiostor/Kconfig"
 
drivers/scsi/aic7xxx/Kconfig.aic7xxx +7 -7
index 3546b8cc401f..4ed44ba4a55b 100644
@@ -71,20 +71,20 @@ config AIC7XXX_DEBUG_ENABLE
  	driver errors.
 
  config AIC7XXX_DEBUG_MASK
-        int "Debug code enable mask (2047 for all debugging)"
-        depends on SCSI_AIC7XXX
-        default "0"
-        help
+	int "Debug code enable mask (2047 for all debugging)"
+	depends on SCSI_AIC7XXX
+	default "0"
+	help
  	Bit mask of debug options that is only valid if the
  	CONFIG_AIC7XXX_DEBUG_ENABLE option is enabled.  The bits in this mask
  	are defined in the drivers/scsi/aic7xxx/aic7xxx.h - search for the
  	variable ahc_debug in that file to find them.
 
  config AIC7XXX_REG_PRETTY_PRINT
-        bool "Decode registers during diagnostics"
-        depends on SCSI_AIC7XXX
+	bool "Decode registers during diagnostics"
+	depends on SCSI_AIC7XXX
  	default y
-        help
+	help
  	Compile in register value tables for the output of expanded register
  	contents in diagnostics.  This make it much easier to understand debug
  	output without having to refer to a data book and/or the aic7xxx.reg
drivers/scsi/pcmcia/Kconfig +1 -1
index dc9b74c9348a..a7920fc95e7d 100644
@@ -56,7 +56,7 @@ config PCMCIA_NINJA_SCSI
  	    [I-O DATA (OEM) (version string: "IO DATA","CBSC16       ","1")]
  	    I-O DATA CBSC-II
  	    [Kyusyu Matsushita Kotobuki (OEM)
-               (version string: "KME    ","SCSI-CARD-001","1")]
+	       (version string: "KME    ","SCSI-CARD-001","1")]
  	    KME KXL-820AN's card
  	    HP M820e CDRW's card
  	    etc.
drivers/scsi/qedf/Kconfig +2 -2
index 7cd993be4e57..80328dbd44c9 100644
@@ -3,8 +3,8 @@ config QEDF
  	tristate "QLogic QEDF 25/40/100Gb FCoE Initiator Driver Support"
  	depends on PCI && SCSI
  	depends on QED
-        depends on LIBFC
-        depends on LIBFCOE
+	depends on LIBFC
+	depends on LIBFCOE
  	select QED_LL2
  	select QED_FCOE
  	---help---
drivers/scsi/smartpqi/Kconfig +4 -4
index bc6506884e3b..456ec474fa17 100644
@@ -50,7 +50,7 @@ config SCSI_SMARTPQI
  	To compile this driver as a module, choose M here: the
  	module will be called smartpqi.
 
-        Note: the aacraid driver will not manage a smartpqi
-              controller. You need to enable smartpqi for smartpqi
-              controllers. For more information, please see
-              Documentation/scsi/smartpqi.txt
+	Note: the aacraid driver will not manage a smartpqi
+	      controller. You need to enable smartpqi for smartpqi
+	      controllers. For more information, please see
+	      Documentation/scsi/smartpqi.txt