diff options
author | Josh Poimboeuf <jpoimboe@redhat.com> | 2019-04-04 12:17:35 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-10 17:54:08 +0200 |
commit | cf6cb79d57b049fbf2385bf79a34c651101615f0 (patch) | |
tree | 0379a9780e78b0bfc24c8d17741593f1d5ab90a2 /tools | |
parent | e66e72710962c7cb6a5d5843b8395380ef64fac3 (diff) | |
download | linux-stable-cf6cb79d57b049fbf2385bf79a34c651101615f0.tar.gz linux-stable-cf6cb79d57b049fbf2385bf79a34c651101615f0.tar.bz2 linux-stable-cf6cb79d57b049fbf2385bf79a34c651101615f0.zip |
objtool: Add rewind_stack_do_exit() to the noreturn list
[ Upstream commit 4fa5ecda2bf96be7464eb406df8aba9d89260227 ]
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
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/objtool/check.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/objtool/check.c b/tools/objtool/check.c index 550f17611bd7..ef152daccc33 100644 --- a/tools/objtool/check.c +++ b/tools/objtool/check.c @@ -165,6 +165,7 @@ static int __dead_end_function(struct objtool_file *file, struct symbol *func, "fortify_panic", "usercopy_abort", "machine_real_restart", + "rewind_stack_do_exit", }; if (func->bind == STB_WEAK) |