2022-05-26 10:59:32

by Juerg Haefliger

[permalink] [raw]
Subject: [PATCH 4/4] sh/mm: Kconfig: Fix indentation

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 <[email protected]>
---
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



2022-05-27 17:24:20

by Sergei Shtylyov

[permalink] [raw]
Subject: Re: [PATCH 4/4] sh/mm: Kconfig: Fix indentation

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 <[email protected]>
[...]

MBR, Sergey

2022-05-28 20:33:41

by Juerg Haefliger

[permalink] [raw]
Subject: [PATCH 4/4 v2] sh/mm: Kconfig: Fix indentation

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

Signed-off-by: Juerg Haefliger <[email protected]>
---
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