[PATCH] hwrng: Fix indentation of HW_RANDOM_CN10K help text

Geert Uytterhoeven posted 1 patch 10 months ago
drivers/char/hw_random/Kconfig | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
[PATCH] hwrng: Fix indentation of HW_RANDOM_CN10K help text
Posted by Geert Uytterhoeven 10 months ago
Change the indentation of the help text of the HW_RANDOM_CN10K symbol
from one TAB plus one space to one TAB plus two spaces, as is customary.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
While commit 67b78a34e48b9810 ("hwrng: Kconfig - Use tabs as leading
whitespace consistently in Kconfig") fixed some indentation for the
HW_RANDOM_CN10K symbol, it did not fix everything...
---
 drivers/char/hw_random/Kconfig | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig
index 1ec4cad1e210a2ac..c67de9579664c762 100644
--- a/drivers/char/hw_random/Kconfig
+++ b/drivers/char/hw_random/Kconfig
@@ -583,11 +583,11 @@ config HW_RANDOM_CN10K
 	depends on HW_RANDOM && PCI && (ARM64 || (64BIT && COMPILE_TEST))
 	default HW_RANDOM if ARCH_THUNDER
 	help
-	 This driver provides support for the True Random Number
-	 generator available in Marvell CN10K SoCs.
+	  This driver provides support for the True Random Number
+	  generator available in Marvell CN10K SoCs.
 
-	 To compile this driver as a module, choose M here.
-	 The module will be called cn10k_rng. If unsure, say Y.
+	  To compile this driver as a module, choose M here.
+	  The module will be called cn10k_rng. If unsure, say Y.
 
 config HW_RANDOM_JH7110
 	tristate "StarFive JH7110 Random Number Generator support"
-- 
2.43.0
Re: [PATCH] hwrng: Fix indentation of HW_RANDOM_CN10K help text
Posted by Herbert Xu 9 months, 3 weeks ago
On Wed, Feb 19, 2025 at 04:03:32PM +0100, Geert Uytterhoeven wrote:
> Change the indentation of the help text of the HW_RANDOM_CN10K symbol
> from one TAB plus one space to one TAB plus two spaces, as is customary.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
> While commit 67b78a34e48b9810 ("hwrng: Kconfig - Use tabs as leading
> whitespace consistently in Kconfig") fixed some indentation for the
> HW_RANDOM_CN10K symbol, it did not fix everything...
> ---
>  drivers/char/hw_random/Kconfig | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Re: [PATCH] hwrng: Fix indentation of HW_RANDOM_CN10K help text
Posted by Dragan Simic 10 months ago
Hello Geert,

On 2025-02-19 16:03, Geert Uytterhoeven wrote:
> Change the indentation of the help text of the HW_RANDOM_CN10K symbol
> from one TAB plus one space to one TAB plus two spaces, as is 
> customary.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
> While commit 67b78a34e48b9810 ("hwrng: Kconfig - Use tabs as leading
> whitespace consistently in Kconfig") fixed some indentation for the
> HW_RANDOM_CN10K symbol, it did not fix everything...

Oh, I totally missed that, my bad.  Thanks for the patch, and
please feel free to include

Reviewed-by: Dragan Simic <dsimic@manjaro.org>

> ---
>  drivers/char/hw_random/Kconfig | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/char/hw_random/Kconfig 
> b/drivers/char/hw_random/Kconfig
> index 1ec4cad1e210a2ac..c67de9579664c762 100644
> --- a/drivers/char/hw_random/Kconfig
> +++ b/drivers/char/hw_random/Kconfig
> @@ -583,11 +583,11 @@ config HW_RANDOM_CN10K
>  	depends on HW_RANDOM && PCI && (ARM64 || (64BIT && COMPILE_TEST))
>  	default HW_RANDOM if ARCH_THUNDER
>  	help
> -	 This driver provides support for the True Random Number
> -	 generator available in Marvell CN10K SoCs.
> +	  This driver provides support for the True Random Number
> +	  generator available in Marvell CN10K SoCs.
> 
> -	 To compile this driver as a module, choose M here.
> -	 The module will be called cn10k_rng. If unsure, say Y.
> +	  To compile this driver as a module, choose M here.
> +	  The module will be called cn10k_rng. If unsure, say Y.
> 
>  config HW_RANDOM_JH7110
>  	tristate "StarFive JH7110 Random Number Generator support"