Skip to contentSkip to conversation

gnss: tell what GNSS means

PATCH In review Randy Dunlap 3 participants 5 messages Sep 25, 2023 – Oct 30, 2023 Gnss

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gnss: tell what GNSS means

Tell users what GNSS means in the Kconfig prompt.

Fixes 2b6a44035143 ("gnss: add GNSS receiver subsystem")
Cc Johan Hovold <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
---
 drivers/gnss/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gnss/Kconfig +1 -1
diff -- a/drivers/gnss/Kconfig b/drivers/gnss/Kconfig
@@ -4,7 +4,7 @@
 #
 
 menuconfig GNSS
-	tristate "GNSS receiver support"
+	tristate "GNSS (Global Navigation Satellite System) receiver support"
 	help
 	  Say Y here if you have a GNSS receiver (e.g. a GPS receiver).
 
maintainer
#1 lore raw

drivers/gnss/Kconfig line 7

Quoted 5 lines · Randy Dunlap

Tell users what GNSS means in the Kconfig prompt.

menuconfig GNSS

drivers/gnss/Kconfig +1 -1
-	tristate "GNSS receiver support"
+	tristate "GNSS (Global Navigation Satellite System) receiver support"

No, I don't like the way this clutters menuconfig. The above would make this one of the longest entries and for very little gain.

We don't spell out NVMe or SPI either and I think the help text below is clear enough as anyone not yet familiar with the concept of "GNSS receivers" is sure to at least have heard of "GPS receivers" (which we also don't spell out).

drivers/gnss/Kconfig line 9

Quoted 2 lines
drivers/gnss/Kconfig +0 -0
 	help
 	  Say Y here if you have a GNSS receiver (e.g. a GPS receiver).

Johan

#2 lore raw
Quoted 9 lines · Johan Hovold

drivers/gnss/Kconfig line 7

Quoted 5 lines · Randy Dunlap

Tell users what GNSS means in the Kconfig prompt.

menuconfig GNSS

drivers/gnss/Kconfig +1 -1
-	tristate "GNSS receiver support"
+	tristate "GNSS (Global Navigation Satellite System) receiver support"

No, I don't like the way this clutters menuconfig. The above would make this one of the longest entries and for very little gain.

Yeah, because everyone knows what GNSS means.

Except that most people know GNSS as GPS. You misnamed the subsystem, so it now needs explanation :-(.
Pavel

#3 lore raw
Quoted 11 lines · Pavel Machek
Quoted 9 lines · Johan Hovold

drivers/gnss/Kconfig line 7

Quoted 5 lines · Randy Dunlap

Tell users what GNSS means in the Kconfig prompt.

menuconfig GNSS

drivers/gnss/Kconfig +1 -1
-	tristate "GNSS receiver support"
+	tristate "GNSS (Global Navigation Satellite System) receiver support"

No, I don't like the way this clutters menuconfig. The above would make this one of the longest entries and for very little gain.

Quoted 5 lines

Yeah, because everyone knows what GNSS means.

Except that most people know GNSS as GPS. You misnamed the subsystem, so it now needs explanation :-(.
Pavel

Thanks. Obviously I agree.

Signature · 1 line
~Randy
maintainer
#4 lore raw
In reply to Pavel Machek
Quoted 4 lines · Pavel Machek
Quoted 3 lines · Johan Hovold
Quoted 1 line · Randy Dunlap

Tell users what GNSS means in the Kconfig prompt.

Quoted 8 lines
Quoted 6 lines

drivers/gnss/Kconfig line 7

Quoted 3 lines

menuconfig GNSS

drivers/gnss/Kconfig +1 -1
-	tristate "GNSS receiver support"
+	tristate "GNSS (Global Navigation Satellite System) receiver support"

No, I don't like the way this clutters menuconfig. The above would make this one of the longest entries and for very little gain.

Yeah, because everyone knows what GNSS means.

It's an established term (e.g. see [1]), and as I mentioned in the context you dropped we don't spell out what NVMe or SPI stands for either.

Quoted 2 lines

Except that most people know GNSS as GPS. You misnamed the subsystem, so it now needs explanation :-(.

No, naming it GPS would have been too specific as these receivers are not just for GPS.

Either way, this is about not cluttering up menuconfig and making that harder to navigate for no good reason.

Johan

[1] https://www.u-blox.com/en/positioning-chips-and-modules