Message ID | 20230925054346.18065-1-rdunlap@infradead.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp1103283vqu; Mon, 25 Sep 2023 03:17:09 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGyFEtwanAEjGidcgPRUVNwzdrP9PUZf4kr5N7ORf5eVIH/TReQGBQ4IVSVsGke3VzNpbKw X-Received: by 2002:a05:6a00:b86:b0:68f:dfda:1814 with SMTP id g6-20020a056a000b8600b0068fdfda1814mr8675714pfj.18.1695637028930; Mon, 25 Sep 2023 03:17:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695637028; cv=none; d=google.com; s=arc-20160816; b=Bt1pywEvLvGG+92rwr9PcPstTdhdR1KQt+Td0Jk5fgRnMB7QfMyXbfl3JIIMSIWyOp fGvsNaspWV4y1/0HxHgxLLpGJp6R5AvrWhY1FsZOarNfT0cP+W27VsplT5VeJuaF66AZ VIF///4XveaLzx4De1OBcgL9E1bK+w1gs8JZ1b2NzGQ9dyob8SYzF+bzERv603NXK8QQ EfcxzzQGmMyBLEKymBu7Ji45pPgwdCtctYWFhl8P7CesAfrFv32PhhkYd+kJKbwrD/3a kxl+C5GWZPqGCB/xbuhkvpuluSODlQ3iVNQN4jcvc73Z/TDHv/4l0WsAssiJOOLJla9I W49g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=cTJgEzpgfN5ep0AVXrfoyqbXaUcnTxXPQGsCBbpaanQ=; fh=QTMVzwxZkxFYx3A5cooSSRhjU5ChBMBOl6oPu0Bii7E=; b=fBS4n11Gcwg9OHMbfgrtYw9yM9FCtZ6a2e+cKKr6+4RV6eXwxhv+XrzKAmd20w6JSP 51FnrvgMDHeq2eGFvzCJITqSk45olYfLucja7A7oQA6En35PkGZLyr7ktED51rv5Ax5C tHyiAa45p1DBziIr8ubFzrKPRotJ9aa/R4onfhQDpTPKciXcMY2HNYvYOo0jS+fM2NUZ MiHX8L2Qs1WBfZ4Id0nSRsjB/jDpPwRXruf9cCpRScrTJQTcRGjyO65fZUOG5lTXA+lZ zNXk/bwkPFQTzEf2NgqXb8nL7OGXWZi6FxSasdZG7b4inCh+DReVqtGQyYECHCMgX17L 62Vw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b="hDGr/73H"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id bs193-20020a6328ca000000b005526bd0c526si9233932pgb.641.2023.09.25.03.17.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 03:17:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b="hDGr/73H"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 91CFB801C8AD; Sun, 24 Sep 2023 22:43:59 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231963AbjIYFn4 (ORCPT <rfc822;ezelljr.billy@gmail.com> + 30 others); Mon, 25 Sep 2023 01:43:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229658AbjIYFny (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 25 Sep 2023 01:43:54 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B00BDA for <linux-kernel@vger.kernel.org>; Sun, 24 Sep 2023 22:43:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=cTJgEzpgfN5ep0AVXrfoyqbXaUcnTxXPQGsCBbpaanQ=; b=hDGr/73HcfsSm+p98MMIdcUR68 ER5cm5acuIVpYVNSppftCSNMlsTnscEp4xT8ssv5GmHAz6MqgcS+DV1vqDFQKLo36M/7+rYsKVwH1 8aPFaVgybEWh34HnCJE/f1DoqTFIeYzhx/3949KfW/LaoTIVHN8DU632I5OUUt6HHq8879vHSTfTe WpMdpWNPWitZXrWrfUi0cDGe85LLlXuP+LcGaG2rmzAUIgxvz5YKGrbzwWx/UlSihaeEMI8t6cUfm Ird3/ST1UeeLjLxp6J//dEY6IRZ66mqUl9sy9YyxnKA/8UlMYeMpVdmuWf1CPm89ixVrFV5EiEuYj tRY3adhA==; Received: from [2601:1c2:980:9ec0::9fed] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qkeNn-00DNqY-2d; Mon, 25 Sep 2023 05:43:47 +0000 From: Randy Dunlap <rdunlap@infradead.org> To: linux-kernel@vger.kernel.org Cc: Randy Dunlap <rdunlap@infradead.org>, Johan Hovold <johan@kernel.org>, Greg Kroah-Hartman <gregkh@linuxfoundation.org> Subject: [PATCH] gnss: tell what GNSS means Date: Sun, 24 Sep 2023 22:43:46 -0700 Message-ID: <20230925054346.18065-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Sun, 24 Sep 2023 22:43:59 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778004293588201735 X-GMAIL-MSGID: 1778004293588201735 |
Series |
gnss: tell what GNSS means
|
|
Commit Message
Randy Dunlap
Sept. 25, 2023, 5:43 a.m. UTC
Tell users what GNSS means in the Kconfig prompt.
Fixes: 2b6a44035143 ("gnss: add GNSS receiver subsystem")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Johan Hovold <johan@kernel.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
drivers/gnss/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Sun, Sep 24, 2023 at 10:43:46PM -0700, Randy Dunlap wrote: > Tell users what GNSS means in the Kconfig prompt. > menuconfig GNSS > - 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). > help > Say Y here if you have a GNSS receiver (e.g. a GPS receiver). Johan
On Mon 2023-10-16 16:38:28, Johan Hovold wrote: > On Sun, Sep 24, 2023 at 10:43:46PM -0700, Randy Dunlap wrote: > > Tell users what GNSS means in the Kconfig prompt. > > > menuconfig GNSS > > - 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
On 10/29/23 00:15, Pavel Machek wrote: > On Mon 2023-10-16 16:38:28, Johan Hovold wrote: >> On Sun, Sep 24, 2023 at 10:43:46PM -0700, Randy Dunlap wrote: >>> Tell users what GNSS means in the Kconfig prompt. >> >>> menuconfig GNSS >>> - 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 Thanks. Obviously I agree.
On Sun, Oct 29, 2023 at 08:15:41AM +0100, Pavel Machek wrote: > On Mon 2023-10-16 16:38:28, Johan Hovold wrote: > > On Sun, Sep 24, 2023 at 10:43:46PM -0700, Randy Dunlap wrote: > > > Tell users what GNSS means in the Kconfig prompt. > > > > > menuconfig GNSS > > > - 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. > 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
diff -- a/drivers/gnss/Kconfig b/drivers/gnss/Kconfig --- 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).