The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH v3 0/2] misc: sgi_gru: fix Kconfig option text
@ 2024-04-12  5:52 Prasad Pandit
  2024-04-12  5:52 ` [PATCH v3 1/2] misc: sgi_gru: indent SGI_GRU option help text Prasad Pandit
  2024-04-12  5:52 ` [PATCH v3 2/2] misc: sgi_gru: remove default attribute of LATTICE_ECP3_CONFIG Prasad Pandit
  0 siblings, 2 replies; 3+ messages in thread
From: Prasad Pandit @ 2024-04-12  5:52 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: Derek Kiernan, Dragan Cvetic, Arnd Bergmann, linux-kernel,
	Prasad Pandit

From: Prasad Pandit <pjp@fedoraproject.org>

Hi,

This patch series properly indents help text of config option
and removes a redundant default value attribute.

Thank you.
---
Prasad Pandit (2):
  misc: sgi_gru: indent SGI_GRU option help text
  misc: sgi_gru: remove default attribute of LATTICE_ECP3_CONFIG

 drivers/misc/Kconfig | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

-- 
2.44.0


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

* [PATCH v3 1/2] misc: sgi_gru: indent SGI_GRU option help text
  2024-04-12  5:52 [PATCH v3 0/2] misc: sgi_gru: fix Kconfig option text Prasad Pandit
@ 2024-04-12  5:52 ` Prasad Pandit
  2024-04-12  5:52 ` [PATCH v3 2/2] misc: sgi_gru: remove default attribute of LATTICE_ECP3_CONFIG Prasad Pandit
  1 sibling, 0 replies; 3+ messages in thread
From: Prasad Pandit @ 2024-04-12  5:52 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: Derek Kiernan, Dragan Cvetic, Arnd Bergmann, linux-kernel,
	Prasad Pandit

From: Prasad Pandit <pjp@fedoraproject.org>

Fix indentation of SGI_GRU option's help text by adding
leading spaces. Generally help text is indented by two
more spaces beyond the leading tab <\t> character.
It helps Kconfig parsers to read file without error.

Signed-off-by: Prasad Pandit <pjp@fedoraproject.org>
---
 drivers/misc/Kconfig | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

v3:
  - split patch in two, remove 'default n' attribute
v2:
  - CC public mailing list
  - https://lore.kernel.org/linux-kernel/292030286.5066638.1712899322325@mail.yahoo.com/T/#t
v1:
  - s/\t/ / at line #431
  - Private mail to maintainers in MAINTAINERS
v0:
  - private mail to maintainers in MAINTAINERS

diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index 4fb291f0bf7c..04df5a0ee931 100644
--- a/drivers/misc/Kconfig
+++ b/drivers/misc/Kconfig
@@ -293,21 +293,21 @@ config SGI_GRU
 	depends on X86_UV && SMP
 	select MMU_NOTIFIER
 	help
-	The GRU is a hardware resource located in the system chipset. The GRU
-	contains memory that can be mmapped into the user address space. This memory is
-	used to communicate with the GRU to perform functions such as load/store,
-	scatter/gather, bcopy, AMOs, etc.  The GRU is directly accessed by user
-	instructions using user virtual addresses. GRU instructions (ex., bcopy) use
-	user virtual addresses for operands.
+	  The GRU is a hardware resource located in the system chipset. The GRU
+	  contains memory that can be mmapped into the user address space.
+	  This memory is used to communicate with the GRU to perform functions
+	  such as load/store, scatter/gather, bcopy, AMOs, etc.  The GRU is
+	  directly accessed by user instructions using user virtual addresses.
+	  GRU instructions (ex., bcopy) use user virtual addresses for operands.
 
-	If you are not running on a SGI UV system, say N.
+	  If you are not running on a SGI UV system, say N.
 
 config SGI_GRU_DEBUG
 	bool  "SGI GRU driver debug"
 	depends on SGI_GRU
 	help
-	This option enables additional debugging code for the SGI GRU driver.
-	If you are unsure, say N.
+	  This option enables additional debugging code for the SGI GRU driver.
+	  If you are unsure, say N.
 
 config APDS9802ALS
 	tristate "Medfield Avago APDS9802 ALS Sensor module"
-- 
2.44.0


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

* [PATCH v3 2/2] misc: sgi_gru: remove default attribute of LATTICE_ECP3_CONFIG
  2024-04-12  5:52 [PATCH v3 0/2] misc: sgi_gru: fix Kconfig option text Prasad Pandit
  2024-04-12  5:52 ` [PATCH v3 1/2] misc: sgi_gru: indent SGI_GRU option help text Prasad Pandit
@ 2024-04-12  5:52 ` Prasad Pandit
  1 sibling, 0 replies; 3+ messages in thread
From: Prasad Pandit @ 2024-04-12  5:52 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: Derek Kiernan, Dragan Cvetic, Arnd Bergmann, linux-kernel,
	Prasad Pandit

From: Prasad Pandit <pjp@fedoraproject.org>

Remove 'default n' attribute of 'LATTICE_ECP3_CONFIG' option
because it is redundant. 'n' is automatic default value when
one is not specified.

Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Prasad Pandit <pjp@fedoraproject.org>
---
 drivers/misc/Kconfig | 1 -
 1 file changed, 1 deletion(-)

v3:
  - remove 'default n' attribute
  - https://lore.kernel.org/linux-kernel/292030286.5066638.1712899322325@mail.yahoo.com/T/#t

diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index 04df5a0ee931..b8f8461edfed 100644
--- a/drivers/misc/Kconfig
+++ b/drivers/misc/Kconfig
@@ -428,7 +428,6 @@ config LATTICE_ECP3_CONFIG
 	tristate "Lattice ECP3 FPGA bitstream configuration via SPI"
 	depends on SPI && SYSFS
 	select FW_LOADER
-	default	n
 	help
 	  This option enables support for bitstream configuration (programming
 	  or loading) of the Lattice ECP3 FPGA family via SPI.
-- 
2.44.0


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

end of thread, other threads:[~2024-04-12  5:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-12  5:52 [PATCH v3 0/2] misc: sgi_gru: fix Kconfig option text Prasad Pandit
2024-04-12  5:52 ` [PATCH v3 1/2] misc: sgi_gru: indent SGI_GRU option help text Prasad Pandit
2024-04-12  5:52 ` [PATCH v3 2/2] misc: sgi_gru: remove default attribute of LATTICE_ECP3_CONFIG Prasad Pandit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox