Commit 0ef597c3 authored by Miguel Ojeda's avatar Miguel Ojeda Committed by Jonathan Corbet

docs: remove mention of ENABLE_MUST_CHECK

We removed ENABLE_MUST_CHECK in 19679394 ("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 3337d5cf
("configs: get rid of obsolete CONFIG_ENABLE_WARN_DEPRECATED").

Finally, reflow the paragraph.
Signed-off-by: default avatarMiguel Ojeda <ojeda@kernel.org>
Reviewed-by: default avatarNathan Chancellor <natechancellor@gmail.com>
Reviewed-by: default avatarNick Desaulniers <ndesaulniers@google.com>
Link: https://lore.kernel.org/r/20210105055815.GA5173@kernel.orgSigned-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 798ed780
...@@ -249,10 +249,8 @@ features; most of these are found in the "kernel hacking" submenu. Several ...@@ -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 of these options should be turned on for any kernel used for development or
testing purposes. In particular, you should turn on: testing purposes. In particular, you should turn on:
- ENABLE_MUST_CHECK and FRAME_WARN to get an - FRAME_WARN to get warnings for stack frames larger than a given amount.
extra set of warnings for problems like the use of deprecated interfaces The output generated can be verbose, but one need not worry about
or ignoring an important return value from a function. The output
generated by these warnings can be verbose, but one need not worry about
warnings from other parts of the kernel. warnings from other parts of the kernel.
- DEBUG_OBJECTS will add code to track the lifetime of various objects - DEBUG_OBJECTS will add code to track the lifetime of various objects
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment