Re: [PATCH v9 1/5] x86/boot: Remove "cc" clobber from memcmp()

From: Borislav Petkov

Date: Wed Sep 02 2026 - 20:02:54 EST


On Wed, Sep 02, 2026 at 10:48:14AM -0300, Mauricio Faria de Oliveira wrote:
> Boris, I guess this may be added as clarification in the commit message.
> Would you prefer another version with it?

Yeah, I'd actually prefer it in the code itself so that we can find it easier.
This file is as good as any.

Something like this:

/*
* Summarized explanation that "cc" clobbers don't have a meaning
*
*/

and leave the "cc" clobber there but commented out:

/* "cc" ... */

so that we can grep for it easier later.

Thanks!

--
Regards/Gruss,
Boris.

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