aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorBorislav Petkov <[email protected]>2022-08-24 17:13:26 +0200
committerBorislav Petkov <[email protected]>2022-08-25 15:54:03 +0200
commitc93c296fff6b369a7115916145047c8a3db6e27f (patch)
treeffaf8154c47ead2d9ac672666f59418cc37c8a06 /lib/mpi/mpi-sub-ui.c
parentcdaa0a407f1acd3a44861e3aea6e3c7349e668f1 (diff)
x86/sev: Mark snp_abort() noreturn
Mark both the function prototype and definition as noreturn in order to prevent the compiler from doing transformations which confuse objtool like so: vmlinux.o: warning: objtool: sme_enable+0x71: unreachable instruction This triggers with gcc-12. Add it and sev_es_terminate() to the objtool noreturn tracking array too. Sort it while at it. Suggested-by: Michael Matz <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Acked-by: Peter Zijlstra <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions