Linux-RISC-V Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH v2] riscv: Fix Kconfig indentation
@ 2019-11-21  3:20 Krzysztof Kozlowski
  2019-11-23  2:54 ` Paul Walmsley
  0 siblings, 1 reply; 4+ messages in thread
From: Krzysztof Kozlowski @ 2019-11-21  3:20 UTC (permalink / raw)
  To: linux-kernel
  Cc: linux-riscv, Albert Ou, Palmer Dabbelt, Krzysztof Kozlowski,
	Paul Walmsley

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 <krzk@kernel.org>

---

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


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

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

* Re: [PATCH v2] riscv: Fix Kconfig indentation
  2019-11-21  3:20 [PATCH v2] riscv: Fix Kconfig indentation Krzysztof Kozlowski
@ 2019-11-23  2:54 ` Paul Walmsley
  2019-11-25  2:45   ` Krzysztof Kozlowski
  2019-11-25 20:15   ` Palmer Dabbelt
  0 siblings, 2 replies; 4+ messages in thread
From: Paul Walmsley @ 2019-11-23  2:54 UTC (permalink / raw)
  To: Krzysztof Kozlowski; +Cc: linux-riscv, Albert Ou, Palmer Dabbelt, linux-kernel

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 <krzk@kernel.org>

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


- Paul

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

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

* Re: [PATCH v2] riscv: Fix Kconfig indentation
  2019-11-23  2:54 ` Paul Walmsley
@ 2019-11-25  2:45   ` Krzysztof Kozlowski
  2019-11-25 20:15   ` Palmer Dabbelt
  1 sibling, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2019-11-25  2:45 UTC (permalink / raw)
  To: Paul Walmsley; +Cc: linux-riscv, Albert Ou, Palmer Dabbelt, linux-kernel

On Sat, 23 Nov 2019 at 10:54, Paul Walmsley <paul.walmsley@sifive.com> 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 <krzk@kernel.org>
>
> 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

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

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

* Re: [PATCH v2] riscv: Fix Kconfig indentation
  2019-11-23  2:54 ` Paul Walmsley
  2019-11-25  2:45   ` Krzysztof Kozlowski
@ 2019-11-25 20:15   ` Palmer Dabbelt
  1 sibling, 0 replies; 4+ messages in thread
From: Palmer Dabbelt @ 2019-11-25 20:15 UTC (permalink / raw)
  To: Paul Walmsley; +Cc: linux-riscv, aou, linux-kernel, krzk

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 <krzk@kernel.org>
>
> Thanks, queued with Palmer's Reviewed-by: (which I believe would apply
> equally to this version)

Ya, it does.

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

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

end of thread, back to index

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-21  3:20 [PATCH v2] riscv: Fix Kconfig indentation Krzysztof Kozlowski
2019-11-23  2:54 ` Paul Walmsley
2019-11-25  2:45   ` Krzysztof Kozlowski
2019-11-25 20:15   ` Palmer Dabbelt

Linux-RISC-V Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-riscv/0 linux-riscv/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-riscv linux-riscv/ https://lore.kernel.org/linux-riscv \
		linux-riscv@lists.infradead.org
	public-inbox-index linux-riscv

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.infradead.lists.linux-riscv


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git