Re: [PATCH] x86/sev: Mark snp_abort() noreturn

From: Borislav Petkov
Date: Wed Aug 24 2022 - 11:49:19 EST


On Wed, Aug 24, 2022 at 05:38:26PM +0200, Peter Zijlstra wrote:
> You'll probably also have to add it to the
> objtool/check.c:global_noreturn[] list, for the case where objtool fails
> to recognise it as noreturn.

How come?

Doesn't objtool see the attribute?

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette