diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2021-01-04 19:47:38 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-01-04 19:47:38 +0100 |
commit | f4f6a2e329523e1a795e5e5c0799feee997aa053 (patch) | |
tree | fefe562edc36631a79f5af415f9f6088791fcfef /lib | |
parent | Linux 5.11-rc2 (diff) | |
parent | Compiler Attributes: remove CONFIG_ENABLE_MUST_CHECK (diff) | |
download | linux-f4f6a2e329523e1a795e5e5c0799feee997aa053.tar.xz linux-f4f6a2e329523e1a795e5e5c0799feee997aa053.zip |
Merge tag 'compiler-attributes-for-linus-v5.11' of git://github.com/ojeda/linux
Pull ENABLE_MUST_CHECK removal from Miguel Ojeda:
"Remove CONFIG_ENABLE_MUST_CHECK (Masahiro Yamada)"
Note that this removes the config option by making the must-check
unconditional, not by removing must check itself.
* tag 'compiler-attributes-for-linus-v5.11' of git://github.com/ojeda/linux:
Compiler Attributes: remove CONFIG_ENABLE_MUST_CHECK
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Kconfig.debug | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index e6e58b26e888..7937265ef879 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -295,14 +295,6 @@ config GDB_SCRIPTS endif # DEBUG_INFO -config ENABLE_MUST_CHECK - bool "Enable __must_check logic" - default y - help - Enable the __must_check logic in the kernel build. Disable this to - suppress the "warning: ignoring return value of 'foo', declared with - attribute warn_unused_result" messages. - config FRAME_WARN int "Warn for stack frames larger than" range 0 8192 |