Bug 219729
Summary: | arch/x86/tools/insn_decoder_test: error: malformed line 3729972: | ||
---|---|---|---|
Product: | Tools | Reporter: | H.J. Lu (hjl.tools) |
Component: | Other | Assignee: | Tools.Other (tools_other) |
Status: | NEW --- | ||
Severity: | normal | CC: | bp, mario.limonciello, mingo, tglx |
Priority: | P3 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | Subsystem: | ||
Regression: | No | Bisected commit-id: | |
Attachments: | This is the patch from Red Hat |
Description
H.J. Lu
2025-01-27 22:42:07 UTC
Created attachment 307539 [details]
This is the patch from Red Hat
(In reply to Mario Limonciello (AMD) from comment #2) > Does https://git.kernel.org/torvalds/c/c104c16073b7f help? I got arch/x86/tools/insn_decoder_test.c:15:9: warning: "unlikely" redefined 15 | #define unlikely(cond) (cond) | ^~~~~~~~ In file included from ./tools/include/linux/build_bug.h:5, from ./tools/include/linux/kernel.h:8, from ./tools/include/linux/kallsyms.h:5, from arch/x86/tools/insn_decoder_test.c:13: ./tools/include/linux/compiler.h:128:10: note: this is the location of the previous definition 128 | # define unlikely(x) __builtin_expect(!!(x), 0) #define unlikely(cond) (cond) should be removed when <linux/kallsyms.h> was included. Would you mind sending a proper patch after the merge window is done? (In reply to Mario Limonciello (AMD) from comment #4) > Would you mind sending a proper patch after the merge window is done? Done: https://lkml.iu.edu/hypermail/linux/kernel/2504.0/01316.html |