summaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorNathan Chancellor <nathan@kernel.org>2025-03-19 01:32:30 +0300
committerIngo Molnar <mingo@kernel.org>2025-03-29 00:57:44 +0300
commitf710202b2a45addea3dcdcd862770ecbaf6597ef (patch)
treebf2a78a010c41c46c00ca4f05e47097b8abc498f /lib/memory-notifier-error-inject.c
parentb5322b6ec06a6c58650f52abcd2492000396363b (diff)
downloadlinux-f710202b2a45addea3dcdcd862770ecbaf6597ef.tar.xz
x86/tools: Drop duplicate unlikely() definition in insn_decoder_test.c
After commit c104c16073b7 ("Kunit to check the longest symbol length"), there is a warning when building with clang because there is now a definition of unlikely from compiler.h in tools/include/linux, which conflicts with the one in the instruction decoder selftest: arch/x86/tools/insn_decoder_test.c:15:9: warning: 'unlikely' macro redefined [-Wmacro-redefined] Remove the second unlikely() definition, as it is no longer necessary, clearing up the warning. Fixes: c104c16073b7 ("Kunit to check the longest symbol length") Signed-off-by: Nathan Chancellor <nathan@kernel.org> Signed-off-by: Ingo Molnar <mingo@kernel.org> Acked-by: Shuah Khan <skhan@linuxfoundation.org> Link: https://lore.kernel.org/r/20250318-x86-decoder-test-fix-unlikely-redef-v1-1-74c84a7bf05b@kernel.org
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions