Skip to content

Commit 4fa5ecd

Browse files
jpoimboeKAGA-KOKO
authored andcommitted
objtool: Add rewind_stack_do_exit() to the noreturn list
This fixes the following warning seen on GCC 7.3: arch/x86/kernel/dumpstack.o: warning: objtool: oops_end() falls through to next function show_regs() Reported-by: kbuild test robot <lkp@intel.com> Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Peter Zijlstra <peterz@infradead.org> Link: https://lkml.kernel.org/r/3418ebf5a5a9f6ed7e80954c741c0b904b67b5dc.1554398240.git.jpoimboe@redhat.com
1 parent a0fe2c6 commit 4fa5ecd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎tools/objtool/check.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ static int __dead_end_function(struct objtool_file *file, struct symbol *func,
165165
"fortify_panic",
166166
"usercopy_abort",
167167
"machine_real_restart",
168+
"rewind_stack_do_exit",
168169
};
169170

170171
if (func->bind == STB_WEAK)

0 commit comments

Comments
 (0)