* [PATCH v2] Documentation: kbuild: explicitly document missing prompt
@ 2024-08-23 19:41 Stephen Brennan
2024-08-24 3:33 ` Nathan Chancellor
2024-09-05 0:01 ` Masahiro Yamada
0 siblings, 2 replies; 3+ messages in thread
From: Stephen Brennan @ 2024-08-23 19:41 UTC (permalink / raw)
To: Jonathan Corbet, Masahiro Yamada
Cc: linux-doc, linux-kbuild, Stephen Brennan, Nathan Chancellor,
linux-kernel, Nicolas Schier
There are a few lines in the kbuild-language.rst document which
obliquely reference the behavior of config options without prompts.
But there is nothing in the obvious location that explicitly calls
out that users cannot edit config options unless they have a prompt.
Signed-off-by: Stephen Brennan <stephen.s.brennan@oracle.com>
---
v1: https://lore.kernel.org/linux-doc/20240820171000.1656021-1-stephen.s.brennan@oracle.com/
Documentation/kbuild/kconfig-language.rst | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/Documentation/kbuild/kconfig-language.rst b/Documentation/kbuild/kconfig-language.rst
index 1fb3f5e6193c3..4650daaf5d365 100644
--- a/Documentation/kbuild/kconfig-language.rst
+++ b/Documentation/kbuild/kconfig-language.rst
@@ -70,7 +70,11 @@ applicable everywhere (see syntax).
Every menu entry can have at most one prompt, which is used to display
to the user. Optionally dependencies only for this prompt can be added
- with "if".
+ with "if". If a prompt is not present, the config option is a non-visible
+ symbol, meaning its value cannot be directly changed by the user (such as
+ altering the value in ``.config``) and the option will not appear in any
+ config menus. Its value can only be set via "default" and "select" (see
+ below).
- default value: "default" <expr> ["if" <expr>]
--
2.43.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v2] Documentation: kbuild: explicitly document missing prompt
2024-08-23 19:41 [PATCH v2] Documentation: kbuild: explicitly document missing prompt Stephen Brennan
@ 2024-08-24 3:33 ` Nathan Chancellor
2024-09-05 0:01 ` Masahiro Yamada
1 sibling, 0 replies; 3+ messages in thread
From: Nathan Chancellor @ 2024-08-24 3:33 UTC (permalink / raw)
To: Stephen Brennan
Cc: Jonathan Corbet, Masahiro Yamada, linux-doc, linux-kbuild,
linux-kernel, Nicolas Schier
On Fri, Aug 23, 2024 at 12:41:51PM -0700, Stephen Brennan wrote:
> There are a few lines in the kbuild-language.rst document which
> obliquely reference the behavior of config options without prompts.
> But there is nothing in the obvious location that explicitly calls
> out that users cannot edit config options unless they have a prompt.
>
> Signed-off-by: Stephen Brennan <stephen.s.brennan@oracle.com>
Looks good to me.
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
> ---
> v1: https://lore.kernel.org/linux-doc/20240820171000.1656021-1-stephen.s.brennan@oracle.com/
>
> Documentation/kbuild/kconfig-language.rst | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/kbuild/kconfig-language.rst b/Documentation/kbuild/kconfig-language.rst
> index 1fb3f5e6193c3..4650daaf5d365 100644
> --- a/Documentation/kbuild/kconfig-language.rst
> +++ b/Documentation/kbuild/kconfig-language.rst
> @@ -70,7 +70,11 @@ applicable everywhere (see syntax).
>
> Every menu entry can have at most one prompt, which is used to display
> to the user. Optionally dependencies only for this prompt can be added
> - with "if".
> + with "if". If a prompt is not present, the config option is a non-visible
> + symbol, meaning its value cannot be directly changed by the user (such as
> + altering the value in ``.config``) and the option will not appear in any
> + config menus. Its value can only be set via "default" and "select" (see
> + below).
>
> - default value: "default" <expr> ["if" <expr>]
>
> --
> 2.43.5
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2] Documentation: kbuild: explicitly document missing prompt
2024-08-23 19:41 [PATCH v2] Documentation: kbuild: explicitly document missing prompt Stephen Brennan
2024-08-24 3:33 ` Nathan Chancellor
@ 2024-09-05 0:01 ` Masahiro Yamada
1 sibling, 0 replies; 3+ messages in thread
From: Masahiro Yamada @ 2024-09-05 0:01 UTC (permalink / raw)
To: Stephen Brennan
Cc: Jonathan Corbet, linux-doc, linux-kbuild, Nathan Chancellor,
linux-kernel, Nicolas Schier
On Sat, Aug 24, 2024 at 4:42 AM Stephen Brennan
<stephen.s.brennan@oracle.com> wrote:
>
> There are a few lines in the kbuild-language.rst document which
> obliquely reference the behavior of config options without prompts.
> But there is nothing in the obvious location that explicitly calls
> out that users cannot edit config options unless they have a prompt.
>
> Signed-off-by: Stephen Brennan <stephen.s.brennan@oracle.com>
> ---
> v1: https://lore.kernel.org/linux-doc/20240820171000.1656021-1-stephen.s.brennan@oracle.com/
Applied to linux-kbuild.
Thanks!
>
> Documentation/kbuild/kconfig-language.rst | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/kbuild/kconfig-language.rst b/Documentation/kbuild/kconfig-language.rst
> index 1fb3f5e6193c3..4650daaf5d365 100644
> --- a/Documentation/kbuild/kconfig-language.rst
> +++ b/Documentation/kbuild/kconfig-language.rst
> @@ -70,7 +70,11 @@ applicable everywhere (see syntax).
>
> Every menu entry can have at most one prompt, which is used to display
> to the user. Optionally dependencies only for this prompt can be added
> - with "if".
> + with "if". If a prompt is not present, the config option is a non-visible
> + symbol, meaning its value cannot be directly changed by the user (such as
> + altering the value in ``.config``) and the option will not appear in any
> + config menus. Its value can only be set via "default" and "select" (see
> + below).
>
> - default value: "default" <expr> ["if" <expr>]
>
> --
> 2.43.5
>
--
Best Regards
Masahiro Yamada
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-09-05 0:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-23 19:41 [PATCH v2] Documentation: kbuild: explicitly document missing prompt Stephen Brennan
2024-08-24 3:33 ` Nathan Chancellor
2024-09-05 0:01 ` Masahiro Yamada
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox