objtool: Add rewind_stack_do_exit() to the noreturn list
commit180019b00c3c0f062efa6fd21ef6d06269a0322c
authorJosh Poimboeuf <jpoimboe@redhat.com>
Thu, 4 Apr 2019 17:17:35 +0000 (4 12:17 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 11 Aug 2019 10:22:15 +0000 (11 12:22 +0200)
tree2e6ba431b434c92d82f3957b2d7d2ecf9049f9e4
parent495dace544bcf0a036187bc5b78a5fab6425f375
objtool: Add rewind_stack_do_exit() to the noreturn list

commit 4fa5ecda2bf96be7464eb406df8aba9d89260227 upstream.

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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/objtool/check.c