summaryrefslogtreecommitdiff
path: root/tools/objtool/builtin-check.c
diff options
context:
space:
mode:
authorJosh Poimboeuf <jpoimboe@kernel.org>2023-04-19 00:27:47 +0300
committerJosh Poimboeuf <jpoimboe@kernel.org>2023-05-16 16:31:51 +0300
commit5e3992fe72748ed3892be876f09d4d990548b7af (patch)
tree4cac1dc96abdb6dfb12e3c646ddfc3e50aa5833f /tools/objtool/builtin-check.c
parent89da5a69a831f20df6463fd524e1578e12a8f46f (diff)
downloadlinux-5e3992fe72748ed3892be876f09d4d990548b7af.tar.xz
objtool: Limit unreachable warnings to once per function
Unreachable instruction warnings are limited to once per object file. That no longer makes sense for vmlinux validation, which might have more unreachable instructions lurking in other places. Change it to once per function. Note this affects some other (much rarer) non-fatal warnings as well. In general I think one-warning-per-function makes sense, as related warnings can accumulate quickly and we want to eventually get back to failing the build with -Werror anyway. Reviewed-by: Miroslav Benes <mbenes@suse.cz> Link: https://lore.kernel.org/r/9d38f881bfc34e031c74e4e90064ccb3e49f599a.1681853186.git.jpoimboe@kernel.org Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Diffstat (limited to 'tools/objtool/builtin-check.c')
0 files changed, 0 insertions, 0 deletions