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

From: Mauricio Faria de Oliveira

Date: Wed Sep 02 2026 - 20:13:18 EST


On 2026-09-02 21:01, Borislav Petkov wrote:
> 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!

Sure, will do in the next version.

The rest of this series is OK to you?
I can wait for further feedback and combine it with this change.

Thanks!

--
Mauricio