linux/tools/testing/selftests/wireguard/qemu
Masahiro Yamada 1967939462 Compiler Attributes: remove CONFIG_ENABLE_MUST_CHECK
Revert commit cebc04ba9a ("add CONFIG_ENABLE_MUST_CHECK").

A lot of warn_unused_result warnings existed in 2006, but until now
they have been fixed thanks to people doing allmodconfig tests.

Our goal is to always enable __must_check where appropriate, so this
CONFIG option is no longer needed.

I see a lot of defconfig (arch/*/configs/*_defconfig) files having:

    # CONFIG_ENABLE_MUST_CHECK is not set

I did not touch them for now since it would be a big churn. If arch
maintainers want to clean them up, please go ahead.

While I was here, I also moved __must_check to compiler_attributes.h
from compiler_types.h

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Acked-by: Jason A. Donenfeld <Jason@zx2c4.com>
Acked-by: Nathan Chancellor <natechancellor@gmail.com>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
[Moved addition in compiler_attributes.h to keep it sorted]
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2020-12-02 13:47:17 +01:00
..
arch wireguard: selftests: use normal kernel stack size on ppc64 2020-05-06 20:03:47 -07:00
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
Makefile wireguard: selftests: use newer iproute2 for gcc-10 2020-05-20 20:55:09 -07:00
debug.config Compiler Attributes: remove CONFIG_ENABLE_MUST_CHECK 2020-12-02 13:47:17 +01:00
init.c wireguard: selftests: remove duplicated include <sys/types.h> 2020-03-18 18:51:43 -07:00
kernel.config wireguard: selftests: check that route_me_harder packets use the right sk 2020-10-30 12:57:38 +01:00