linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] sh: Kconfig: Style cleanups
@ 2022-05-25 12:40 Juerg Haefliger
  2022-05-25 12:40 ` [PATCH 1/4] sh: Kconfig: Fix indentation Juerg Haefliger
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Juerg Haefliger @ 2022-05-25 12:40 UTC (permalink / raw)
  To: ysato, dalias, linux-sh; +Cc: linux-kernel, Juerg Haefliger

The majority of the Kconfig files use a single tab for basic indentation
and a single tab followed by two whitespaces for help text indentation.
Fix the lines that don't follow this convention.

Juerg Haefliger (4):
  sh: Kconfig: Fix indentation
  sh: Kconfig.cpu: Fix indentation
  sh/boards: Kconfig: Fix indentation
  sh/mm: Kconfig: Fix indentation

 arch/sh/Kconfig        | 24 ++++++++++++------------
 arch/sh/Kconfig.cpu    |  2 +-
 arch/sh/boards/Kconfig | 12 ++++++------
 arch/sh/mm/Kconfig     |  6 +++---
 4 files changed, 22 insertions(+), 22 deletions(-)

-- 
2.32.0


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

* [PATCH 1/4] sh: Kconfig: Fix indentation
  2022-05-25 12:40 [PATCH 0/4] sh: Kconfig: Style cleanups Juerg Haefliger
@ 2022-05-25 12:40 ` Juerg Haefliger
  2022-05-26  8:21   ` Sergei Shtylyov
  2022-05-25 12:40 ` [PATCH 2/4] sh: Kconfig.cpu: Fix indentation Juerg Haefliger
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 13+ messages in thread
From: Juerg Haefliger @ 2022-05-25 12:40 UTC (permalink / raw)
  To: ysato, dalias, linux-sh; +Cc: linux-kernel, Juerg Haefliger

The convention for indentation seems to be a single tab. Help text is
further indented by an additional two whitespaces. Fix the lines that
violate these rules.

While at it, remove stray spaces from seemingly empty lines.

Signed-off-by: Juerg Haefliger <juerg.haefliger@canonical.com>
---
 arch/sh/Kconfig | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index 5f220e903e5a..fc15fd6b719e 100644
--- a/arch/sh/Kconfig
+++ b/arch/sh/Kconfig
@@ -200,9 +200,9 @@ config ARCH_SHMOBILE
 	select PM
 
 config CPU_HAS_PMU
-       depends on CPU_SH4 || CPU_SH4A
-       default y
-       bool
+	depends on CPU_SH4 || CPU_SH4A
+	default y
+	bool
 
 choice
 	prompt "Processor sub-type selection"
@@ -231,7 +231,7 @@ config CPU_SUBTYPE_SH7201
 	select CPU_SH2A
 	select CPU_HAS_FPU
 	select SYS_SUPPORTS_SH_MTU2
- 
+
 config CPU_SUBTYPE_SH7203
 	bool "Support SH7203 processor"
 	select CPU_SH2A
@@ -493,7 +493,7 @@ config CPU_SUBTYPE_SH7366
 endchoice
 
 source "arch/sh/mm/Kconfig"
- 
+
 source "arch/sh/Kconfig.cpu"
 
 source "arch/sh/boards/Kconfig"
@@ -644,7 +644,7 @@ config GUSA
 	  This is the default implementation for both UP and non-ll/sc
 	  CPUs, and is used by the libc, amongst others.
 
-	  For additional information, design information can be found 
+	  For additional information, design information can be found
 	  in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>.
 
 	  This should only be disabled for special cases where alternate
@@ -775,12 +775,12 @@ config MAPLE
 	bool "Maple Bus support"
 	depends on SH_DREAMCAST
 	help
-	 The Maple Bus is SEGA's serial communication bus for peripherals
-	 on the Dreamcast. Without this bus support you won't be able to
-	 get your Dreamcast keyboard etc to work, so most users
-	 probably want to say 'Y' here, unless you are only using the
-	 Dreamcast with a serial line terminal or a remote network
-	 connection.
+	  The Maple Bus is SEGA's serial communication bus for peripherals
+	  on the Dreamcast. Without this bus support you won't be able to
+	  get your Dreamcast keyboard etc to work, so most users
+	  probably want to say 'Y' here, unless you are only using the
+	  Dreamcast with a serial line terminal or a remote network
+	  connection.
 
 endmenu
 
-- 
2.32.0


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

* [PATCH 2/4] sh: Kconfig.cpu: Fix indentation
  2022-05-25 12:40 [PATCH 0/4] sh: Kconfig: Style cleanups Juerg Haefliger
  2022-05-25 12:40 ` [PATCH 1/4] sh: Kconfig: Fix indentation Juerg Haefliger
@ 2022-05-25 12:40 ` Juerg Haefliger
  2022-05-25 16:14   ` Sergei Shtylyov
  2022-05-25 12:40 ` [PATCH 3/4] sh/boards: Kconfig: Fix indentation Juerg Haefliger
  2022-05-25 12:40 ` [PATCH 4/4] sh/mm: Kconfig: Fix indentation Juerg Haefliger
  3 siblings, 1 reply; 13+ messages in thread
From: Juerg Haefliger @ 2022-05-25 12:40 UTC (permalink / raw)
  To: ysato, dalias, linux-sh; +Cc: linux-kernel, Juerg Haefliger

The convention for indentation seems to be a single tab. Help text is
further indented by an additional two whitespaces. Fix the lines that
violate these rules.

Signed-off-by: Juerg Haefliger <juerg.haefliger@canonical.com>
---
 arch/sh/Kconfig.cpu | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/sh/Kconfig.cpu b/arch/sh/Kconfig.cpu
index fff419f3d757..7b0bea483eab 100644
--- a/arch/sh/Kconfig.cpu
+++ b/arch/sh/Kconfig.cpu
@@ -2,7 +2,7 @@
 menu "Processor features"
 
 choice
-	prompt "Endianness selection" 
+	prompt "Endianness selection"
 	default CPU_LITTLE_ENDIAN
 	help
 	  Some SuperH machines can be configured for either little or big
-- 
2.32.0


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

* [PATCH 3/4] sh/boards: Kconfig: Fix indentation
  2022-05-25 12:40 [PATCH 0/4] sh: Kconfig: Style cleanups Juerg Haefliger
  2022-05-25 12:40 ` [PATCH 1/4] sh: Kconfig: Fix indentation Juerg Haefliger
  2022-05-25 12:40 ` [PATCH 2/4] sh: Kconfig.cpu: Fix indentation Juerg Haefliger
@ 2022-05-25 12:40 ` Juerg Haefliger
  2022-05-25 18:34   ` Sergei Shtylyov
  2022-05-25 12:40 ` [PATCH 4/4] sh/mm: Kconfig: Fix indentation Juerg Haefliger
  3 siblings, 1 reply; 13+ messages in thread
From: Juerg Haefliger @ 2022-05-25 12:40 UTC (permalink / raw)
  To: ysato, dalias, linux-sh; +Cc: linux-kernel, Juerg Haefliger

The convention for indentation seems to be a single tab. Help text is
further indented by an additional two whitespaces. Fix the lines that
violate these rules.

While at it, remove stray tabs/spaces from a seemingly empty line.

Signed-off-by: Juerg Haefliger <juerg.haefliger@canonical.com>
---
 arch/sh/boards/Kconfig | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/arch/sh/boards/Kconfig b/arch/sh/boards/Kconfig
index 83bcb6d2daca..fbdb3fbfb976 100644
--- a/arch/sh/boards/Kconfig
+++ b/arch/sh/boards/Kconfig
@@ -36,7 +36,7 @@ config SH_SOLUTION_ENGINE
 	select CPU_HAS_IPR_IRQ
 	depends on CPU_SUBTYPE_SH7705 || CPU_SUBTYPE_SH7709 || CPU_SUBTYPE_SH7710 || \
 	  CPU_SUBTYPE_SH7712 || CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7750S || \
-	  CPU_SUBTYPE_SH7750R 
+	  CPU_SUBTYPE_SH7750R
 	help
 	  Select SolutionEngine if configuring for a Hitachi SH7705, SH7709,
 	  SH7710, SH7712, SH7750, SH7750S or SH7750R evaluation board.
@@ -56,7 +56,7 @@ config SH_7619_SOLUTION_ENGINE
 	help
 	  Select 7619 SolutionEngine if configuring for a Hitachi SH7619
 	  evaluation board.
-	
+
 config SH_7721_SOLUTION_ENGINE
 	bool "SolutionEngine7721"
 	select SOLUTION_ENGINE
@@ -94,7 +94,7 @@ config SH_7751_SOLUTION_ENGINE
 	help
 	  Select 7751 SolutionEngine if configuring for a Hitachi SH7751
 	  evaluation board.
-	  
+
 config SH_7780_SOLUTION_ENGINE
 	bool "SolutionEngine7780"
 	select SOLUTION_ENGINE
@@ -167,8 +167,8 @@ config SH_RSK
 	  CPU_SUBTYPE_SH7264 || CPU_SUBTYPE_SH7269
 	select REGULATOR_FIXED_VOLTAGE if REGULATOR
 	help
-	 Select this option if configuring for any of the RSK+ MCU
-	 evaluation platforms.
+	  Select this option if configuring for any of the RSK+ MCU
+	  evaluation platforms.
 
 config SH_SDK7780
 	bool "SDK7780R3"
@@ -236,7 +236,7 @@ config SH_MIGOR
 	select REGULATOR_FIXED_VOLTAGE if REGULATOR
 	help
 	  Select Migo-R if configuring for the SH7722 Migo-R platform
-          by Renesas System Solutions Asia Pte. Ltd.
+	  by Renesas System Solutions Asia Pte. Ltd.
 
 config SH_AP325RXA
 	bool "AP-325RXA"
-- 
2.32.0


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

* [PATCH 4/4] sh/mm: Kconfig: Fix indentation
  2022-05-25 12:40 [PATCH 0/4] sh: Kconfig: Style cleanups Juerg Haefliger
                   ` (2 preceding siblings ...)
  2022-05-25 12:40 ` [PATCH 3/4] sh/boards: Kconfig: Fix indentation Juerg Haefliger
@ 2022-05-25 12:40 ` Juerg Haefliger
  2022-05-26  8:13   ` Sergei Shtylyov
  3 siblings, 1 reply; 13+ messages in thread
From: Juerg Haefliger @ 2022-05-25 12:40 UTC (permalink / raw)
  To: ysato, dalias, linux-sh; +Cc: linux-kernel, Juerg Haefliger

The convention for indentation seems to be a single tab. Help text is
further indented by an additional two whitespaces. Fix the lines that
violate these rules.

Signed-off-by: Juerg Haefliger <juerg.haefliger@canonical.com>
---
 arch/sh/mm/Kconfig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/sh/mm/Kconfig b/arch/sh/mm/Kconfig
index ba569cfb4368..a563211aeb63 100644
--- a/arch/sh/mm/Kconfig
+++ b/arch/sh/mm/Kconfig
@@ -2,7 +2,7 @@
 menu "Memory management options"
 
 config MMU
-        bool "Support for memory management hardware"
+	bool "Support for memory management hardware"
 	depends on !CPU_SH2
 	default y
 	help
@@ -141,8 +141,8 @@ config ARCH_MEMORY_PROBE
 	depends on MEMORY_HOTPLUG
 
 config IOREMAP_FIXED
-       def_bool y
-       depends on X2TLB
+	def_bool y
+	depends on X2TLB
 
 config UNCACHED_MAPPING
 	bool
-- 
2.32.0


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

* Re: [PATCH 2/4] sh: Kconfig.cpu: Fix indentation
  2022-05-25 12:40 ` [PATCH 2/4] sh: Kconfig.cpu: Fix indentation Juerg Haefliger
@ 2022-05-25 16:14   ` Sergei Shtylyov
  2022-05-25 18:31     ` [PATCH 2/4 v2] sh: Kconfig.cpu: Remove trailing whitespace Juerg Haefliger
  0 siblings, 1 reply; 13+ messages in thread
From: Sergei Shtylyov @ 2022-05-25 16:14 UTC (permalink / raw)
  To: Juerg Haefliger, ysato, dalias, linux-sh; +Cc: linux-kernel

On 5/25/22 3:40 PM, Juerg Haefliger wrote:

> The convention for indentation seems to be a single tab. Help text is
> further indented by an additional two whitespaces. Fix the lines that
> violate these rules.
> 
> Signed-off-by: Juerg Haefliger <juerg.haefliger@canonical.com>
> ---
>  arch/sh/Kconfig.cpu | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/sh/Kconfig.cpu b/arch/sh/Kconfig.cpu
> index fff419f3d757..7b0bea483eab 100644
> --- a/arch/sh/Kconfig.cpu
> +++ b/arch/sh/Kconfig.cpu
> @@ -2,7 +2,7 @@
>  menu "Processor features"
>  
>  choice
> -	prompt "Endianness selection" 
> +	prompt "Endianness selection"

  You're not fixing indentation, you're fixing trailing whitespace
Please fix up your subject/description accordingly.

[...]

MBR, Sergey

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

* [PATCH 2/4 v2] sh: Kconfig.cpu: Remove trailing whitespace
  2022-05-25 16:14   ` Sergei Shtylyov
@ 2022-05-25 18:31     ` Juerg Haefliger
  0 siblings, 0 replies; 13+ messages in thread
From: Juerg Haefliger @ 2022-05-25 18:31 UTC (permalink / raw)
  To: ysato, dalias, linux-sh, sergei.shtylyov; +Cc: linux-kernel, Juerg Haefliger

Remove a stray whitespace from the end of a line.

Signed-off-by: Juerg Haefliger <juerg.haefliger@canonical.com>
---
v2:
  Fix commit subject and message.
---
 arch/sh/Kconfig.cpu | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/sh/Kconfig.cpu b/arch/sh/Kconfig.cpu
index fff419f3d757..7b0bea483eab 100644
--- a/arch/sh/Kconfig.cpu
+++ b/arch/sh/Kconfig.cpu
@@ -2,7 +2,7 @@
 menu "Processor features"
 
 choice
-	prompt "Endianness selection" 
+	prompt "Endianness selection"
 	default CPU_LITTLE_ENDIAN
 	help
 	  Some SuperH machines can be configured for either little or big
-- 
2.32.0


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

* Re: [PATCH 3/4] sh/boards: Kconfig: Fix indentation
  2022-05-25 12:40 ` [PATCH 3/4] sh/boards: Kconfig: Fix indentation Juerg Haefliger
@ 2022-05-25 18:34   ` Sergei Shtylyov
  2022-05-27 12:04     ` [PATCH 3/4 v2] sh/boards: Kconfig: Fix indentation and remove trailing whitespaces Juerg Haefliger
  0 siblings, 1 reply; 13+ messages in thread
From: Sergei Shtylyov @ 2022-05-25 18:34 UTC (permalink / raw)
  To: Juerg Haefliger, ysato, dalias, linux-sh; +Cc: linux-kernel

On 5/25/22 3:40 PM, Juerg Haefliger wrote:

> The convention for indentation seems to be a single tab. Help text is
> further indented by an additional two whitespaces. Fix the lines that
> violate these rules.
> 
> While at it, remove stray tabs/spaces from a seemingly empty line.

   That prolly counts as trailing whitespace which you're also removing
in the 1st hunk...

> Signed-off-by: Juerg Haefliger <juerg.haefliger@canonical.com>
> ---
>  arch/sh/boards/Kconfig | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/arch/sh/boards/Kconfig b/arch/sh/boards/Kconfig
> index 83bcb6d2daca..fbdb3fbfb976 100644
> --- a/arch/sh/boards/Kconfig
> +++ b/arch/sh/boards/Kconfig
> @@ -36,7 +36,7 @@ config SH_SOLUTION_ENGINE
>  	select CPU_HAS_IPR_IRQ
>  	depends on CPU_SUBTYPE_SH7705 || CPU_SUBTYPE_SH7709 || CPU_SUBTYPE_SH7710 || \
>  	  CPU_SUBTYPE_SH7712 || CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7750S || \
> -	  CPU_SUBTYPE_SH7750R 
> +	  CPU_SUBTYPE_SH7750R
>  	help
>  	  Select SolutionEngine if configuring for a Hitachi SH7705, SH7709,
>  	  SH7710, SH7712, SH7750, SH7750S or SH7750R evaluation board.
[...]

MBR, Sergey

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

* Re: [PATCH 4/4] sh/mm: Kconfig: Fix indentation
  2022-05-25 12:40 ` [PATCH 4/4] sh/mm: Kconfig: Fix indentation Juerg Haefliger
@ 2022-05-26  8:13   ` Sergei Shtylyov
  2022-05-27 12:05     ` [PATCH 4/4 v2] " Juerg Haefliger
  0 siblings, 1 reply; 13+ messages in thread
From: Sergei Shtylyov @ 2022-05-26  8:13 UTC (permalink / raw)
  To: Juerg Haefliger, ysato, dalias, linux-sh; +Cc: linux-kernel

On 5/25/22 3:40 PM, Juerg Haefliger wrote:

> The convention for indentation seems to be a single tab. Help text is
> further indented by an additional two whitespaces. Fix the lines that

   s/whitespaces/spaces/. And you don't touch the help text here...

> violate these rules.
> 
> Signed-off-by: Juerg Haefliger <juerg.haefliger@canonical.com>
[...]

MBR, Sergey

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

* Re: [PATCH 1/4] sh: Kconfig: Fix indentation
  2022-05-25 12:40 ` [PATCH 1/4] sh: Kconfig: Fix indentation Juerg Haefliger
@ 2022-05-26  8:21   ` Sergei Shtylyov
  2022-05-27 12:02     ` [PATCH 1/4 v2] sh: Kconfig: Fix indentation and remove trailing whitespaces Juerg Haefliger
  0 siblings, 1 reply; 13+ messages in thread
From: Sergei Shtylyov @ 2022-05-26  8:21 UTC (permalink / raw)
  To: Juerg Haefliger, ysato, dalias, linux-sh; +Cc: linux-kernel

On 5/25/22 3:40 PM, Juerg Haefliger wrote:

> The convention for indentation seems to be a single tab. Help text is
> further indented by an additional two whitespaces. Fix the lines that
> violate these rules.
> 
> While at it, remove stray spaces from seemingly empty lines.

   You're also fixing some trailing spaces... that all counts up
to fixing trailing whitespace.

> Signed-off-by: Juerg Haefliger <juerg.haefliger@canonical.com>
> ---
>  arch/sh/Kconfig | 24 ++++++++++++------------
>  1 file changed, 12 insertions(+), 12 deletions(-)
> 
> diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
> index 5f220e903e5a..fc15fd6b719e 100644
> --- a/arch/sh/Kconfig
> +++ b/arch/sh/Kconfig
[...]
> @@ -644,7 +644,7 @@ config GUSA
>  	  This is the default implementation for both UP and non-ll/sc
>  	  CPUs, and is used by the libc, amongst others.
>  
> -	  For additional information, design information can be found 
> +	  For additional information, design information can be found
>  	  in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>.
>  
>  	  This should only be disabled for special cases where alternate
[...]

MBR, Sergey

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

* [PATCH 1/4 v2] sh: Kconfig: Fix indentation and remove trailing whitespaces
  2022-05-26  8:21   ` Sergei Shtylyov
@ 2022-05-27 12:02     ` Juerg Haefliger
  0 siblings, 0 replies; 13+ messages in thread
From: Juerg Haefliger @ 2022-05-27 12:02 UTC (permalink / raw)
  To: ysato, dalias, linux-sh, sergei.shtylyov; +Cc: linux-kernel, Juerg Haefliger

The convention for indentation seems to be a single tab. Help text is
further indented by an additional two spaces. Fix the lines that violate
these rules.

While at it, remove trailing whitespaces.

Signed-off-by: Juerg Haefliger <juerg.haefliger@canonical.com>
---
v2:
  Update commit message and subject per review comments.
---
 arch/sh/Kconfig | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index 5f220e903e5a..fc15fd6b719e 100644
--- a/arch/sh/Kconfig
+++ b/arch/sh/Kconfig
@@ -200,9 +200,9 @@ config ARCH_SHMOBILE
 	select PM
 
 config CPU_HAS_PMU
-       depends on CPU_SH4 || CPU_SH4A
-       default y
-       bool
+	depends on CPU_SH4 || CPU_SH4A
+	default y
+	bool
 
 choice
 	prompt "Processor sub-type selection"
@@ -231,7 +231,7 @@ config CPU_SUBTYPE_SH7201
 	select CPU_SH2A
 	select CPU_HAS_FPU
 	select SYS_SUPPORTS_SH_MTU2
- 
+
 config CPU_SUBTYPE_SH7203
 	bool "Support SH7203 processor"
 	select CPU_SH2A
@@ -493,7 +493,7 @@ config CPU_SUBTYPE_SH7366
 endchoice
 
 source "arch/sh/mm/Kconfig"
- 
+
 source "arch/sh/Kconfig.cpu"
 
 source "arch/sh/boards/Kconfig"
@@ -644,7 +644,7 @@ config GUSA
 	  This is the default implementation for both UP and non-ll/sc
 	  CPUs, and is used by the libc, amongst others.
 
-	  For additional information, design information can be found 
+	  For additional information, design information can be found
 	  in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>.
 
 	  This should only be disabled for special cases where alternate
@@ -775,12 +775,12 @@ config MAPLE
 	bool "Maple Bus support"
 	depends on SH_DREAMCAST
 	help
-	 The Maple Bus is SEGA's serial communication bus for peripherals
-	 on the Dreamcast. Without this bus support you won't be able to
-	 get your Dreamcast keyboard etc to work, so most users
-	 probably want to say 'Y' here, unless you are only using the
-	 Dreamcast with a serial line terminal or a remote network
-	 connection.
+	  The Maple Bus is SEGA's serial communication bus for peripherals
+	  on the Dreamcast. Without this bus support you won't be able to
+	  get your Dreamcast keyboard etc to work, so most users
+	  probably want to say 'Y' here, unless you are only using the
+	  Dreamcast with a serial line terminal or a remote network
+	  connection.
 
 endmenu
 
-- 
2.32.0


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

* [PATCH 3/4 v2] sh/boards: Kconfig: Fix indentation and remove trailing whitespaces
  2022-05-25 18:34   ` Sergei Shtylyov
@ 2022-05-27 12:04     ` Juerg Haefliger
  0 siblings, 0 replies; 13+ messages in thread
From: Juerg Haefliger @ 2022-05-27 12:04 UTC (permalink / raw)
  To: ysato, dalias, linux-sh, sergei.shtylyov; +Cc: linux-kernel, Juerg Haefliger

The convention for indentation seems to be a single tab. Help text is
further indented by an additional two spaces. Fix the lines that violate
these rules.

While at it, remove trailing whitespaces.

Signed-off-by: Juerg Haefliger <juerg.haefliger@canonical.com>
---
v2:
  Update commit message and subject per review comments.
---
 arch/sh/boards/Kconfig | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/arch/sh/boards/Kconfig b/arch/sh/boards/Kconfig
index 83bcb6d2daca..fbdb3fbfb976 100644
--- a/arch/sh/boards/Kconfig
+++ b/arch/sh/boards/Kconfig
@@ -36,7 +36,7 @@ config SH_SOLUTION_ENGINE
 	select CPU_HAS_IPR_IRQ
 	depends on CPU_SUBTYPE_SH7705 || CPU_SUBTYPE_SH7709 || CPU_SUBTYPE_SH7710 || \
 	  CPU_SUBTYPE_SH7712 || CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7750S || \
-	  CPU_SUBTYPE_SH7750R 
+	  CPU_SUBTYPE_SH7750R
 	help
 	  Select SolutionEngine if configuring for a Hitachi SH7705, SH7709,
 	  SH7710, SH7712, SH7750, SH7750S or SH7750R evaluation board.
@@ -56,7 +56,7 @@ config SH_7619_SOLUTION_ENGINE
 	help
 	  Select 7619 SolutionEngine if configuring for a Hitachi SH7619
 	  evaluation board.
-	
+
 config SH_7721_SOLUTION_ENGINE
 	bool "SolutionEngine7721"
 	select SOLUTION_ENGINE
@@ -94,7 +94,7 @@ config SH_7751_SOLUTION_ENGINE
 	help
 	  Select 7751 SolutionEngine if configuring for a Hitachi SH7751
 	  evaluation board.
-	  
+
 config SH_7780_SOLUTION_ENGINE
 	bool "SolutionEngine7780"
 	select SOLUTION_ENGINE
@@ -167,8 +167,8 @@ config SH_RSK
 	  CPU_SUBTYPE_SH7264 || CPU_SUBTYPE_SH7269
 	select REGULATOR_FIXED_VOLTAGE if REGULATOR
 	help
-	 Select this option if configuring for any of the RSK+ MCU
-	 evaluation platforms.
+	  Select this option if configuring for any of the RSK+ MCU
+	  evaluation platforms.
 
 config SH_SDK7780
 	bool "SDK7780R3"
@@ -236,7 +236,7 @@ config SH_MIGOR
 	select REGULATOR_FIXED_VOLTAGE if REGULATOR
 	help
 	  Select Migo-R if configuring for the SH7722 Migo-R platform
-          by Renesas System Solutions Asia Pte. Ltd.
+	  by Renesas System Solutions Asia Pte. Ltd.
 
 config SH_AP325RXA
 	bool "AP-325RXA"
-- 
2.32.0


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

* [PATCH 4/4 v2] sh/mm: Kconfig: Fix indentation
  2022-05-26  8:13   ` Sergei Shtylyov
@ 2022-05-27 12:05     ` Juerg Haefliger
  0 siblings, 0 replies; 13+ messages in thread
From: Juerg Haefliger @ 2022-05-27 12:05 UTC (permalink / raw)
  To: ysato, dalias, linux-sh, sergei.shtylyov; +Cc: linux-kernel, Juerg Haefliger

The convention for indentation seems to be a single tab. Fix the lines
that violate these rules.

Signed-off-by: Juerg Haefliger <juerg.haefliger@canonical.com>
---
v2:
  Update commit message per review comments.
---
 arch/sh/mm/Kconfig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/sh/mm/Kconfig b/arch/sh/mm/Kconfig
index ba569cfb4368..a563211aeb63 100644
--- a/arch/sh/mm/Kconfig
+++ b/arch/sh/mm/Kconfig
@@ -2,7 +2,7 @@
 menu "Memory management options"
 
 config MMU
-        bool "Support for memory management hardware"
+	bool "Support for memory management hardware"
 	depends on !CPU_SH2
 	default y
 	help
@@ -141,8 +141,8 @@ config ARCH_MEMORY_PROBE
 	depends on MEMORY_HOTPLUG
 
 config IOREMAP_FIXED
-       def_bool y
-       depends on X2TLB
+	def_bool y
+	depends on X2TLB
 
 config UNCACHED_MAPPING
 	bool
-- 
2.32.0


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

end of thread, other threads:[~2022-05-27 12:28 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-25 12:40 [PATCH 0/4] sh: Kconfig: Style cleanups Juerg Haefliger
2022-05-25 12:40 ` [PATCH 1/4] sh: Kconfig: Fix indentation Juerg Haefliger
2022-05-26  8:21   ` Sergei Shtylyov
2022-05-27 12:02     ` [PATCH 1/4 v2] sh: Kconfig: Fix indentation and remove trailing whitespaces Juerg Haefliger
2022-05-25 12:40 ` [PATCH 2/4] sh: Kconfig.cpu: Fix indentation Juerg Haefliger
2022-05-25 16:14   ` Sergei Shtylyov
2022-05-25 18:31     ` [PATCH 2/4 v2] sh: Kconfig.cpu: Remove trailing whitespace Juerg Haefliger
2022-05-25 12:40 ` [PATCH 3/4] sh/boards: Kconfig: Fix indentation Juerg Haefliger
2022-05-25 18:34   ` Sergei Shtylyov
2022-05-27 12:04     ` [PATCH 3/4 v2] sh/boards: Kconfig: Fix indentation and remove trailing whitespaces Juerg Haefliger
2022-05-25 12:40 ` [PATCH 4/4] sh/mm: Kconfig: Fix indentation Juerg Haefliger
2022-05-26  8:13   ` Sergei Shtylyov
2022-05-27 12:05     ` [PATCH 4/4 v2] " Juerg Haefliger

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).