Skip to contentSkip to conversation

Whitespace fixes

PATCH In review Brad Love 2 participants 5 messages May 2, 2018 – May 3, 2018

Subsystems (2)
lore
Share & tools
lore

Brad Love

author
#0 lore raw

cover Whitespace fixes

In intel/ipu3 and media Kconfig files there are whitespace issues, which cause failure when doing menuconfig on older kernels during backport operations. The kernel rules are applied to both Kconfigs. Initial spacing of one tab, then help is further indented by two spaces.

Brad Love (2):
intel-ipu3: Kconfig coding style issue
cec: Kconfig coding style issue

 drivers/media/Kconfig                 | 12 ++++++------
 drivers/media/pci/intel/ipu3/Kconfig  | 12 ++++++------
 2 files changed, 12 insertions(+), 12 deletions(-)
Signature · 1 line
2.7.4
author
#1 lore raw

PATCH 1/2 intel-ipu3: Kconfig coding style issue

Kconfig Help statements are two-spaced after a single tab.

The incorrect spacing breaks menuconfig on older kernels.

---
 drivers/media/pci/intel/ipu3/Kconfig | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
drivers/media/pci/intel/ipu3/Kconfig +6 -6
index a82d3fe..7f5b7a5 100644
@@ -10,10 +10,10 @@ config VIDEO_IPU3_CIO2
 	select VIDEOBUF2_DMA_SG
 
 	---help---
-	This is the Intel IPU3 CIO2 CSI-2 receiver unit, found in Intel
-	Skylake and Kaby Lake SoCs and used for capturing images and
-	video from a camera sensor.
+	  This is the Intel IPU3 CIO2 CSI-2 receiver unit, found in Intel
+	  Skylake and Kaby Lake SoCs and used for capturing images and
+	  video from a camera sensor.
 
-	Say Y or M here if you have a Skylake/Kaby Lake SoC with MIPI CSI-2
-	connected camera.
-	The module will be called ipu3-cio2.
+	  Say Y or M here if you have a Skylake/Kaby Lake SoC with MIPI CSI-2
+	  connected camera.
+	  The module will be called ipu3-cio2.
Signature · 1 line
2.7.4
author
#3 lore raw

PATCH 2/2 cec: Kconfig coding style issue

In reply to Brad Love

Use tabs instead of spaces and help is two-spaced after single tab.

The incorrect spacing breaks menuconfig on older kernels.

---
 drivers/media/Kconfig | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
drivers/media/Kconfig +6 -6
index 37124c3..8add62a 100644
@@ -78,13 +78,13 @@ config MEDIA_SDR_SUPPORT
 	  Say Y when you have a software defined radio device.
 
 config MEDIA_CEC_SUPPORT
-       bool "HDMI CEC support"
-       ---help---
-	 Enable support for HDMI CEC (Consumer Electronics Control),
-	 which is an optional HDMI feature.
+	bool "HDMI CEC support"
+	---help---
+	  Enable support for HDMI CEC (Consumer Electronics Control),
+	  which is an optional HDMI feature.
 
-	 Say Y when you have an HDMI receiver, transmitter or a USB CEC
-	 adapter that supports HDMI CEC.
+	  Say Y when you have an HDMI receiver, transmitter or a USB CEC
+	  adapter that supports HDMI CEC.
 
 source "drivers/media/cec/Kconfig"
 
Signature · 1 line
2.7.4