lkml.org 
[lkml]   [2023]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[tip: objtool/core] objtool: Remove superfluous global_noreturns entries
    The following commit has been merged into the objtool/core branch of tip:

    Commit-ID: 34245659debd194cbd4148d2ee5176306bdf8899
    Gitweb: https://git.kernel.org/tip/34245659debd194cbd4148d2ee5176306bdf8899
    Author: Josh Poimboeuf <jpoimboe@kernel.org>
    AuthorDate: Tue, 18 Apr 2023 14:27:52 -07:00
    Committer: Josh Poimboeuf <jpoimboe@kernel.org>
    CommitterDate: Tue, 16 May 2023 06:31:54 -07:00

    objtool: Remove superfluous global_noreturns entries

    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 | 2 --
    1 file changed, 2 deletions(-)

    diff --git a/tools/objtool/check.c b/tools/objtool/check.c
    index 8dac1e3..8c2762d 100644
    --- a/tools/objtool/check.c
    +++ b/tools/objtool/check.c
    @@ -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",
    \
     
     \ /
      Last update: 2023-05-18 13:08    [W:4.010 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site