2019-11-21 03:25:23

by Krzysztof Kozlowski

[permalink] [raw]
Subject: [PATCH v2] riscv: 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

Signed-off-by: Krzysztof Kozlowski <[email protected]>

---

Changes since v1:
1. Fix also 7-space and tab+1 space indentation issues.
---
arch/riscv/Kconfig.socs | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs
index 536c0ef4aee8..f89b73281737 100644
--- a/arch/riscv/Kconfig.socs
+++ b/arch/riscv/Kconfig.socs
@@ -1,13 +1,13 @@
menu "SoC selection"

config SOC_SIFIVE
- bool "SiFive SoCs"
- select SERIAL_SIFIVE
- select SERIAL_SIFIVE_CONSOLE
- select CLK_SIFIVE
- select CLK_SIFIVE_FU540_PRCI
- select SIFIVE_PLIC
- help
- This enables support for SiFive SoC platform hardware.
+ bool "SiFive SoCs"
+ select SERIAL_SIFIVE
+ select SERIAL_SIFIVE_CONSOLE
+ select CLK_SIFIVE
+ select CLK_SIFIVE_FU540_PRCI
+ select SIFIVE_PLIC
+ help
+ This enables support for SiFive SoC platform hardware.

endmenu
--
2.7.4


2019-11-23 02:56:49

by Paul Walmsley

[permalink] [raw]
Subject: Re: [PATCH v2] riscv: Fix Kconfig indentation

On Thu, 21 Nov 2019, Krzysztof Kozlowski wrote:

> Adjust indentation from spaces to tab (+optional two spaces) as in
> coding style with command like:
> $ sed -e 's/^ /\t/' -i */Kconfig
>
> Signed-off-by: Krzysztof Kozlowski <[email protected]>

Thanks, queued with Palmer's Reviewed-by: (which I believe would apply
equally to this version)


- Paul

2019-11-25 02:47:23

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH v2] riscv: Fix Kconfig indentation

On Sat, 23 Nov 2019 at 10:54, Paul Walmsley <[email protected]> wrote:
>
> On Thu, 21 Nov 2019, Krzysztof Kozlowski wrote:
>
> > Adjust indentation from spaces to tab (+optional two spaces) as in
> > coding style with command like:
> > $ sed -e 's/^ /\t/' -i */Kconfig
> >
> > Signed-off-by: Krzysztof Kozlowski <[email protected]>
>
> Thanks, queued with Palmer's Reviewed-by: (which I believe would apply
> equally to this version)

Thanks, I forgot to add it.

Best regards,
Krzysztof

2019-11-25 20:17:26

by Palmer Dabbelt

[permalink] [raw]
Subject: Re: [PATCH v2] riscv: Fix Kconfig indentation

On Fri, 22 Nov 2019 18:54:28 PST (-0800), Paul Walmsley wrote:
> On Thu, 21 Nov 2019, Krzysztof Kozlowski wrote:
>
>> Adjust indentation from spaces to tab (+optional two spaces) as in
>> coding style with command like:
>> $ sed -e 's/^ /\t/' -i */Kconfig
>>
>> Signed-off-by: Krzysztof Kozlowski <[email protected]>
>
> Thanks, queued with Palmer's Reviewed-by: (which I believe would apply
> equally to this version)

Ya, it does.