2022-05-25 20:50:45

by Juerg Haefliger

[permalink] [raw]
Subject: [PATCH 2/4] sh: Kconfig.cpu: 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/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



2022-05-26 08:17:17

by Sergei Shtylyov

[permalink] [raw]
Subject: Re: [PATCH 2/4] sh: Kconfig.cpu: 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
> violate these rules.
>
> Signed-off-by: Juerg Haefliger <[email protected]>
> ---
> 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

2022-05-26 09:27:47

by Juerg Haefliger

[permalink] [raw]
Subject: [PATCH 2/4 v2] sh: Kconfig.cpu: Remove trailing whitespace

Remove a stray whitespace from the end of a line.

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