[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-4fa5ecda2bf96be7464eb406df8aba9d89260227@git.kernel.org>
Date: Fri, 5 Apr 2019 05:05:12 -0700
From: tip-bot for Josh Poimboeuf <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: jpoimboe@...hat.com, tglx@...utronix.de, lkp@...el.com,
peterz@...radead.org, mingo@...nel.org, hpa@...or.com,
linux-kernel@...r.kernel.org
Subject: [tip:core/urgent] objtool: Add rewind_stack_do_exit() to the
noreturn list
Commit-ID: 4fa5ecda2bf96be7464eb406df8aba9d89260227
Gitweb: https://git.kernel.org/tip/4fa5ecda2bf96be7464eb406df8aba9d89260227
Author: Josh Poimboeuf <jpoimboe@...hat.com>
AuthorDate: Thu, 4 Apr 2019 12:17:35 -0500
Committer: Thomas Gleixner <tglx@...utronix.de>
CommitDate: Fri, 5 Apr 2019 13:30:51 +0200
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@...el.com>
Signed-off-by: Josh Poimboeuf <jpoimboe@...hat.com>
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
Cc: Peter Zijlstra <peterz@...radead.org>
Link: https://lkml.kernel.org/r/3418ebf5a5a9f6ed7e80954c741c0b904b67b5dc.1554398240.git.jpoimboe@redhat.com
---
tools/objtool/check.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/objtool/check.c b/tools/objtool/check.c
index 5dde107083c6..479196aeb409 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)
Powered by blists - more mailing lists