* [PATCH] docs: don't include Documentation/Kconfig twice
@ 2021-03-07 14:00 Sergei Trofimovich
2021-03-10 18:33 ` Randy Dunlap
2021-03-15 19:58 ` Jonathan Corbet
0 siblings, 2 replies; 3+ messages in thread
From: Sergei Trofimovich @ 2021-03-07 14:00 UTC (permalink / raw)
To: linux-kernel, Mauro Carvalho Chehab; +Cc: Sergei Trofimovich, Jonathan Corbet
Before the change there were two inclusions of Documentation/Kconfig:
lib/Kconfig.debug:source "Documentation/Kconfig"
Kconfig: source "Documentation/Kconfig"
Kconfig also included 'source "lib/Kconfig.debug"'.
Noticed as two 'make menuconfig' entries in both top level menu
and in 'Kernel hacking' menu. The patch keeps entries only in
'Kernel hacking'.
CC: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
CC: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
---
Kconfig | 2 --
1 file changed, 2 deletions(-)
diff --git a/Kconfig b/Kconfig
index 745bc773f567..97ed6389c921 100644
--- a/Kconfig
+++ b/Kconfig
@@ -28,5 +28,3 @@ source "crypto/Kconfig"
source "lib/Kconfig"
source "lib/Kconfig.debug"
-
-source "Documentation/Kconfig"
--
2.30.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] docs: don't include Documentation/Kconfig twice
2021-03-07 14:00 [PATCH] docs: don't include Documentation/Kconfig twice Sergei Trofimovich
@ 2021-03-10 18:33 ` Randy Dunlap
2021-03-15 19:58 ` Jonathan Corbet
1 sibling, 0 replies; 3+ messages in thread
From: Randy Dunlap @ 2021-03-10 18:33 UTC (permalink / raw)
To: Sergei Trofimovich, linux-kernel, Mauro Carvalho Chehab; +Cc: Jonathan Corbet
On 3/7/21 6:00 AM, Sergei Trofimovich wrote:
> Before the change there were two inclusions of Documentation/Kconfig:
> lib/Kconfig.debug:source "Documentation/Kconfig"
> Kconfig: source "Documentation/Kconfig"
>
> Kconfig also included 'source "lib/Kconfig.debug"'.
>
> Noticed as two 'make menuconfig' entries in both top level menu
> and in 'Kernel hacking' menu. The patch keeps entries only in
> 'Kernel hacking'.
>
> CC: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
> CC: Jonathan Corbet <corbet@lwn.net>
> Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Hi,
OK, it shouldn't be there in 2 places.
The current usage is good under Kernel Hacking (development),
but I can easily foresee cases where we would want user-selectable
Documentation/Kconfig options, so IMO it would be better to be
more independent (i.e., not in lib/Kconfig.debug).
Anyway, for either way that it's fixed:
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
> ---
> Kconfig | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/Kconfig b/Kconfig
> index 745bc773f567..97ed6389c921 100644
> --- a/Kconfig
> +++ b/Kconfig
> @@ -28,5 +28,3 @@ source "crypto/Kconfig"
> source "lib/Kconfig"
>
> source "lib/Kconfig.debug"
> -
> -source "Documentation/Kconfig"
>
thanks.
--
~Randy
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] docs: don't include Documentation/Kconfig twice
2021-03-07 14:00 [PATCH] docs: don't include Documentation/Kconfig twice Sergei Trofimovich
2021-03-10 18:33 ` Randy Dunlap
@ 2021-03-15 19:58 ` Jonathan Corbet
1 sibling, 0 replies; 3+ messages in thread
From: Jonathan Corbet @ 2021-03-15 19:58 UTC (permalink / raw)
To: Sergei Trofimovich, linux-kernel, Mauro Carvalho Chehab
Cc: Sergei Trofimovich
Sergei Trofimovich <slyfox@gentoo.org> writes:
> Before the change there were two inclusions of Documentation/Kconfig:
> lib/Kconfig.debug:source "Documentation/Kconfig"
> Kconfig: source "Documentation/Kconfig"
>
> Kconfig also included 'source "lib/Kconfig.debug"'.
>
> Noticed as two 'make menuconfig' entries in both top level menu
> and in 'Kernel hacking' menu. The patch keeps entries only in
> 'Kernel hacking'.
>
> CC: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
> CC: Jonathan Corbet <corbet@lwn.net>
> Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
> ---
> Kconfig | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/Kconfig b/Kconfig
> index 745bc773f567..97ed6389c921 100644
> --- a/Kconfig
> +++ b/Kconfig
> @@ -28,5 +28,3 @@ source "crypto/Kconfig"
> source "lib/Kconfig"
>
> source "lib/Kconfig.debug"
> -
> -source "Documentation/Kconfig"
> --
> 2.30.1
I agree with not including it twice. Under "kernel hacking" seems like
the wrong place to keep it, though. There's a lot more than kernel
hacking in the kernel docs, I don't think we should bury it in quite
that way. So I'd delete the other one.
Thanks,
jon
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-03-15 19:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-07 14:00 [PATCH] docs: don't include Documentation/Kconfig twice Sergei Trofimovich
2021-03-10 18:33 ` Randy Dunlap
2021-03-15 19:58 ` Jonathan Corbet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).