Re: [PATCH] arch: powerpc: Kconfig: pedantic formatting

2019-07-07 Thread Michael Ellerman
On Wed, 2019-07-03 at 16:04:13 UTC, "Enrico Weigelt, metux IT consult" wrote:
> Formatting of Kconfig files doesn't look so pretty, so let the
> Great White Handkerchief come around and clean it up.
> 
> Also convert "---help---" as requested on lkml.
> 
> Signed-off-by: Enrico Weigelt, metux IT consult 

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/4f44e8aeaf1937d9148dfcc4c028cd8aff27902e

cheers


[PATCH] arch: powerpc: Kconfig: pedantic formatting

2019-07-03 Thread Enrico Weigelt, metux IT consult
Formatting of Kconfig files doesn't look so pretty, so let the
Great White Handkerchief come around and clean it up.

Also convert "---help---" as requested on lkml.

Signed-off-by: Enrico Weigelt, metux IT consult 
---
 arch/powerpc/Kconfig   | 40 +-
 arch/powerpc/kvm/Kconfig   |  6 ++---
 arch/powerpc/platforms/40x/Kconfig |  7 +++---
 arch/powerpc/platforms/44x/Kconfig | 10 -
 arch/powerpc/platforms/85xx/Kconfig|  8 +++
 arch/powerpc/platforms/86xx/Kconfig|  6 ++---
 arch/powerpc/platforms/maple/Kconfig   |  2 +-
 arch/powerpc/platforms/pseries/Kconfig | 18 +++
 arch/powerpc/sysdev/xics/Kconfig   | 13 +--
 9 files changed, 54 insertions(+), 56 deletions(-)

diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 8c1c636..2c9f911 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -48,7 +48,7 @@ config ARCH_MMAP_RND_COMPAT_BITS_MAX
# Allow randomisation to consume up to 512MB of address space (2^29).
default 11 if PPC_256K_PAGES# 11 = 29 (512MB) - 18 (256K)
default 13 if PPC_64K_PAGES # 13 = 29 (512MB) - 16 (64K)
-   default 15 if PPC_16K_PAGES # 15 = 29 (512MB) - 14 (16K)
+   default 15 if PPC_16K_PAGES # 15 = 29 (512MB) - 14 (16K)
default 17  # 17 = 29 (512MB) - 12 (4K)
 
 config ARCH_MMAP_RND_COMPAT_BITS_MIN
@@ -244,9 +244,9 @@ config PPC
#
 
 config PPC_BARRIER_NOSPEC
-bool
-default y
-depends on PPC_BOOK3S_64 || PPC_FSL_BOOK3E
+   bool
+   default y
+   depends on PPC_BOOK3S_64 || PPC_FSL_BOOK3E
 
 config EARLY_PRINTK
bool
@@ -398,7 +398,7 @@ config HUGETLB_PAGE_SIZE_VARIABLE
 config MATH_EMULATION
bool "Math emulation"
depends on 4xx || PPC_8xx || PPC_MPC832x || BOOKE
-   ---help---
+   help
  Some PowerPC chips designed for embedded applications do not have
  a floating-point unit and therefore do not implement the
  floating-point instructions in the PowerPC instruction set.  If you
@@ -417,27 +417,27 @@ choice
 
 config MATH_EMULATION_FULL
bool "Emulate all the floating point instructions"
-   ---help---
+   help
  Select this option will enable the kernel to support to emulate
  all the floating point instructions. If your SoC doesn't have
  a FPU, you should select this.
 
 config MATH_EMULATION_HW_UNIMPLEMENTED
bool "Just emulate the FPU unimplemented instructions"
-   ---help---
+   help
  Select this if you know there does have a hardware FPU on your
  SoC, but some floating point instructions are not implemented by that.
 
 endchoice
 
 config PPC_TRANSACTIONAL_MEM
-   bool "Transactional Memory support for POWERPC"
-   depends on PPC_BOOK3S_64
-   depends on SMP
-   select ALTIVEC
-   select VSX
-   ---help---
- Support user-mode Transactional Memory on POWERPC.
+   bool "Transactional Memory support for POWERPC"
+   depends on PPC_BOOK3S_64
+   depends on SMP
+   select ALTIVEC
+   select VSX
+   help
+ Support user-mode Transactional Memory on POWERPC.
 
 config LD_HEAD_STUB_CATCH
bool "Reserve 256 bytes to cope with linker stubs in HEAD text" if 
EXPERT
@@ -457,7 +457,7 @@ config HOTPLUG_CPU
bool "Support for enabling/disabling CPUs"
depends on SMP && (PPC_PSERIES || \
PPC_PMAC || PPC_POWERNV || FSL_SOC_BOOKE)
-   ---help---
+   help
  Say Y here to be able to disable and re-enable individual
  CPUs at runtime on SMP machines.
 
@@ -825,7 +825,7 @@ config PPC_DENORMALISATION
bool "PowerPC denormalisation exception handling"
depends on PPC_BOOK3S_64
default "y" if PPC_POWERNV
-   ---help---
+   help
  Add support for handling denormalisation of single precision
  values.  Useful for bare metal only.  If unsure say Y here.
 
@@ -938,7 +938,7 @@ config FSL_SOC
bool
 
 config FSL_PCI
-   bool
+   bool
select ARCH_HAS_DMA_SET_MASK
select PPC_INDIRECT_PCI
select PCI_QUIRKS
@@ -986,7 +986,7 @@ config FSL_RIO
bool "Freescale Embedded SRIO Controller support"
depends on RAPIDIO = y && HAVE_RAPIDIO
default "n"
-   ---help---
+   help
  Include support for RapidIO controller on Freescale embedded
  processors (MPC8548, MPC8641, etc).
 
@@ -1050,14 +1050,14 @@ config DYNAMIC_MEMSTART
select NONSTATIC_KERNEL
help
  This option enables the kernel to be loaded at any page aligned
- physical address. The kernel creates a mapping from KERNELBASE to 
+ physical address. The kernel creates a mapping from KERNELBASE to
  the address where the kernel is loaded. The page size here implies
  the TLB page size of the mapping for kernel on the