]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
objtool: Remove superfluous global_noreturns entries
authorJosh Poimboeuf <jpoimboe@kernel.org>
Tue, 18 Apr 2023 21:27:52 +0000 (14:27 -0700)
committerJosh Poimboeuf <jpoimboe@kernel.org>
Tue, 16 May 2023 13:31:54 +0000 (06:31 -0700)
lbug_with_loc() no longer exists, and resume_play_dead() is static
(objtool only checks globals and weaks).

Reviewed-by: Miroslav Benes <mbenes@suse.cz>
Link: https://lore.kernel.org/r/2725d7f2ccc2361c6903de9ebaa2b5bb304f7ac2.1681853186.git.jpoimboe@kernel.org
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
tools/objtool/check.c

index 8dac1e35264e0f79ce5fbde004f8cc74a53418fa..8c2762de7ae362654bd31b30f744a7e07a7ec400 100644 (file)
@@ -217,7 +217,6 @@ static bool __dead_end_function(struct objtool_file *file, struct symbol *func,
                "kthread_complete_and_exit",
                "kthread_exit",
                "kunit_try_catch_throw",
-               "lbug_with_loc",
                "machine_real_restart",
                "make_task_dead",
                "mpt_halt_firmware",
@@ -225,7 +224,6 @@ static bool __dead_end_function(struct objtool_file *file, struct symbol *func,
                "panic",
                "panic_smp_self_stop",
                "rest_init",
-               "resume_play_dead",
                "rewind_stack_and_make_dead",
                "sev_es_terminate",
                "snp_abort",