Re: [PATCH v9 1/5] x86/boot: Remove "cc" clobber from memcmp()
From: David Laight
Date: Thu Sep 03 2026 - 04:54:53 EST
On Wed, 2 Sep 2026 17:01:32 -0700
Borislav Petkov <bp@xxxxxxxxx> 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.
Why would you need to?
Apart from a scan to just remove them all...
David
>
> Thanks!
>