* [PATCH] docs: remove mention of ENABLE_MUST_CHECK
@ 2021-01-05 5:58 Miguel Ojeda
2021-01-05 20:27 ` Nick Desaulniers
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Miguel Ojeda @ 2021-01-05 5:58 UTC (permalink / raw)
To: Jonathan Corbet
Cc: Masahiro Yamada, Jason A. Donenfeld, Nathan Chancellor,
Nick Desaulniers, Federico Vaga, Harry Wei, Alex Shi, linux-doc
We removed ENABLE_MUST_CHECK in 196793946264 ("Compiler Attributes:
remove CONFIG_ENABLE_MUST_CHECK"), so let's remove docs' mentions.
At the same time, fix the outdated text related to
ENABLE_WARN_DEPRECATED that wasn't removed in 3337d5cfe5e08
("configs: get rid of obsolete CONFIG_ENABLE_WARN_DEPRECATED").
Finally, reflow the paragraph.
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
---
A couple translations (it and zh) should consider updating this
too, since they also have the mention -- Cc'ing their maintainers.
Documentation/process/4.Coding.rst | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/Documentation/process/4.Coding.rst b/Documentation/process/4.Coding.rst
index c27e59d2f702..0825dc496f22 100644
--- a/Documentation/process/4.Coding.rst
+++ b/Documentation/process/4.Coding.rst
@@ -249,10 +249,8 @@ features; most of these are found in the "kernel hacking" submenu. Several
of these options should be turned on for any kernel used for development or
testing purposes. In particular, you should turn on:
- - ENABLE_MUST_CHECK and FRAME_WARN to get an
- extra set of warnings for problems like the use of deprecated interfaces
- or ignoring an important return value from a function. The output
- generated by these warnings can be verbose, but one need not worry about
+ - FRAME_WARN to get warnings for stack frames larger than a given amount.
+ The output generated can be verbose, but one need not worry about
warnings from other parts of the kernel.
- DEBUG_OBJECTS will add code to track the lifetime of various objects
--
2.29.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] docs: remove mention of ENABLE_MUST_CHECK
2021-01-05 5:58 [PATCH] docs: remove mention of ENABLE_MUST_CHECK Miguel Ojeda
@ 2021-01-05 20:27 ` Nick Desaulniers
2021-01-05 22:25 ` Nathan Chancellor
2021-01-07 21:42 ` Jonathan Corbet
2 siblings, 0 replies; 4+ messages in thread
From: Nick Desaulniers @ 2021-01-05 20:27 UTC (permalink / raw)
To: Miguel Ojeda
Cc: Jonathan Corbet, Masahiro Yamada, Jason A. Donenfeld,
Nathan Chancellor, Federico Vaga, Harry Wei, Alex Shi,
Linux Doc Mailing List
On Mon, Jan 4, 2021 at 9:58 PM Miguel Ojeda <ojeda@kernel.org> wrote:
>
> We removed ENABLE_MUST_CHECK in 196793946264 ("Compiler Attributes:
> remove CONFIG_ENABLE_MUST_CHECK"), so let's remove docs' mentions.
>
> At the same time, fix the outdated text related to
> ENABLE_WARN_DEPRECATED that wasn't removed in 3337d5cfe5e08
> ("configs: get rid of obsolete CONFIG_ENABLE_WARN_DEPRECATED").
>
> Finally, reflow the paragraph.
>
> Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Thanks for the patch!
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
> ---
> A couple translations (it and zh) should consider updating this
> too, since they also have the mention -- Cc'ing their maintainers.
>
> Documentation/process/4.Coding.rst | 6 ++----
> 1 file changed, 2 insertions(+), 4 deletions(-)
>
> diff --git a/Documentation/process/4.Coding.rst b/Documentation/process/4.Coding.rst
> index c27e59d2f702..0825dc496f22 100644
> --- a/Documentation/process/4.Coding.rst
> +++ b/Documentation/process/4.Coding.rst
> @@ -249,10 +249,8 @@ features; most of these are found in the "kernel hacking" submenu. Several
> of these options should be turned on for any kernel used for development or
> testing purposes. In particular, you should turn on:
>
> - - ENABLE_MUST_CHECK and FRAME_WARN to get an
> - extra set of warnings for problems like the use of deprecated interfaces
> - or ignoring an important return value from a function. The output
> - generated by these warnings can be verbose, but one need not worry about
> + - FRAME_WARN to get warnings for stack frames larger than a given amount.
> + The output generated can be verbose, but one need not worry about
> warnings from other parts of the kernel.
>
> - DEBUG_OBJECTS will add code to track the lifetime of various objects
> --
> 2.29.2
>
--
Thanks,
~Nick Desaulniers
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] docs: remove mention of ENABLE_MUST_CHECK
2021-01-05 5:58 [PATCH] docs: remove mention of ENABLE_MUST_CHECK Miguel Ojeda
2021-01-05 20:27 ` Nick Desaulniers
@ 2021-01-05 22:25 ` Nathan Chancellor
2021-01-07 21:42 ` Jonathan Corbet
2 siblings, 0 replies; 4+ messages in thread
From: Nathan Chancellor @ 2021-01-05 22:25 UTC (permalink / raw)
To: Miguel Ojeda
Cc: Jonathan Corbet, Masahiro Yamada, Jason A. Donenfeld,
Nick Desaulniers, Federico Vaga, Harry Wei, Alex Shi, linux-doc
On Tue, Jan 05, 2021 at 06:58:15AM +0100, Miguel Ojeda wrote:
> We removed ENABLE_MUST_CHECK in 196793946264 ("Compiler Attributes:
> remove CONFIG_ENABLE_MUST_CHECK"), so let's remove docs' mentions.
>
> At the same time, fix the outdated text related to
> ENABLE_WARN_DEPRECATED that wasn't removed in 3337d5cfe5e08
> ("configs: get rid of obsolete CONFIG_ENABLE_WARN_DEPRECATED").
>
> Finally, reflow the paragraph.
>
> Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
> ---
> A couple translations (it and zh) should consider updating this
> too, since they also have the mention -- Cc'ing their maintainers.
>
> Documentation/process/4.Coding.rst | 6 ++----
> 1 file changed, 2 insertions(+), 4 deletions(-)
>
> diff --git a/Documentation/process/4.Coding.rst b/Documentation/process/4.Coding.rst
> index c27e59d2f702..0825dc496f22 100644
> --- a/Documentation/process/4.Coding.rst
> +++ b/Documentation/process/4.Coding.rst
> @@ -249,10 +249,8 @@ features; most of these are found in the "kernel hacking" submenu. Several
> of these options should be turned on for any kernel used for development or
> testing purposes. In particular, you should turn on:
>
> - - ENABLE_MUST_CHECK and FRAME_WARN to get an
> - extra set of warnings for problems like the use of deprecated interfaces
> - or ignoring an important return value from a function. The output
> - generated by these warnings can be verbose, but one need not worry about
> + - FRAME_WARN to get warnings for stack frames larger than a given amount.
> + The output generated can be verbose, but one need not worry about
> warnings from other parts of the kernel.
>
> - DEBUG_OBJECTS will add code to track the lifetime of various objects
> --
> 2.29.2
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] docs: remove mention of ENABLE_MUST_CHECK
2021-01-05 5:58 [PATCH] docs: remove mention of ENABLE_MUST_CHECK Miguel Ojeda
2021-01-05 20:27 ` Nick Desaulniers
2021-01-05 22:25 ` Nathan Chancellor
@ 2021-01-07 21:42 ` Jonathan Corbet
2 siblings, 0 replies; 4+ messages in thread
From: Jonathan Corbet @ 2021-01-07 21:42 UTC (permalink / raw)
To: Miguel Ojeda
Cc: Masahiro Yamada, Jason A. Donenfeld, Nathan Chancellor,
Nick Desaulniers, Federico Vaga, Harry Wei, Alex Shi, linux-doc
On Tue, 5 Jan 2021 06:58:15 +0100
Miguel Ojeda <ojeda@kernel.org> wrote:
> We removed ENABLE_MUST_CHECK in 196793946264 ("Compiler Attributes:
> remove CONFIG_ENABLE_MUST_CHECK"), so let's remove docs' mentions.
>
> At the same time, fix the outdated text related to
> ENABLE_WARN_DEPRECATED that wasn't removed in 3337d5cfe5e08
> ("configs: get rid of obsolete CONFIG_ENABLE_WARN_DEPRECATED").
>
> Finally, reflow the paragraph.
>
> Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
> ---
> A couple translations (it and zh) should consider updating this
> too, since they also have the mention -- Cc'ing their maintainers.
>
> Documentation/process/4.Coding.rst | 6 ++----
> 1 file changed, 2 insertions(+), 4 deletions(-)
Applied, thanks.
jon
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-01-07 21:43 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-05 5:58 [PATCH] docs: remove mention of ENABLE_MUST_CHECK Miguel Ojeda
2021-01-05 20:27 ` Nick Desaulniers
2021-01-05 22:25 ` Nathan Chancellor
2021-01-07 21:42 ` 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).