[GIT PULL] Compiler Attributes for v5.11

From: Miguel Ojeda
Date: Mon Jan 04 2021 - 10:32:04 EST


Hi Linus,

This one is not a bug fix; but it is not a new feature either...
If you prefer changes like this one to be sent in the merge window,
I will re-send it later on.

If this gets into v5.11, then Masahiro is planning to try to make
the warning an error for v5.12. This commit has already triggered
the discussion/fix of a couple of likely mistakes (or at least
the addition of explanations for the omissions), which is a good thing.

I left it in -next for a few more weeks than planned to see if
(more) people complained about the warnings, but it has been quiet
since then.

Cheers,
Miguel

The following changes since commit b65054597872ce3aefbc6a666385eabdf9e288da:

Linux 5.10-rc6 (2020-11-29 15:50:50 -0800)

are available in the Git repository at:

https://github.com/ojeda/linux.git tags/compiler-attributes-for-linus-v5.11

for you to fetch changes up to 1967939462641d8b36bcb3fcf06d48e66cd67a4f:

Compiler Attributes: remove CONFIG_ENABLE_MUST_CHECK (2020-12-02 13:47:17 +0100)

----------------------------------------------------------------
An addition to compiler_attributes.h thanks to:

- Remove CONFIG_ENABLE_MUST_CHECK (Masahiro Yamada)

----------------------------------------------------------------
Masahiro Yamada (1):
Compiler Attributes: remove CONFIG_ENABLE_MUST_CHECK

include/linux/compiler_attributes.h | 6 ++++++
include/linux/compiler_types.h | 6 ------
lib/Kconfig.debug | 8 --------
tools/testing/selftests/wireguard/qemu/debug.config | 1 -
4 files changed, 6 insertions(+), 15 deletions(-)