Re: [PATCH] objtool: prefer memory clobber & %= to volatile & __COUNTER__
From: Borislav Petkov
Date: Tue Jan 18 2022 - 18:33:17 EST
On Tue, Jan 18, 2022 at 03:01:20PM -0800, Josh Poimboeuf wrote:
> With the two WARN_ONs in media_request_object_complete(), GCC apparently
> considers the two reachable() asm statements as duplicates, and it
> removes the second one.
Could that be the same thing:
net/xfrm/xfrm_output.o: warning: objtool: xfrm_output_resume()+0x2e0: unreachable instruction
I see two WARN_ONs in asm output there too...
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette