[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200923160505.GA1684790@yaz-nikka.amd.com>
Date: Wed, 23 Sep 2020 11:05:05 -0500
From: Yazen Ghannam <yazen.ghannam@....com>
To: Borislav Petkov <bp@...en8.de>
Cc: linux-edac@...r.kernel.org, linux-kernel@...r.kernel.org,
tony.luck@...el.com, x86@...nel.org,
Smita.KoralahalliChannabasappa@....com
Subject: Re: [PATCH v2 6/8] x86/MCE/AMD: Drop tmp variable in translation code
On Wed, Sep 23, 2020 at 10:05:56AM +0200, Borislav Petkov wrote:
> On Thu, Sep 03, 2020 at 08:01:42PM +0000, Yazen Ghannam wrote:
> > From: Yazen Ghannam <yazen.ghannam@....com>
> >
> > Remove the "tmp" variable used to save register values. Save the values
> > in existing variables, if possible.
> >
> > The register values are 32 bits. Use separate "reg_" variables to hold
> > the register values if the existing variable sizes doesn't match, or if
> > no bitfields in a register share the same name as the register.
>
> So I'm missing the "why" in the commit message. Why are you doing this?
>
> Is there some reason which I'll find out later? If not, then this is
> just unnecessary churn.
>
I don't have a strong reason other than trying to address a comment in
the first version. I can drop this patch if you prefer.
Thanks,
Yazen
Powered by blists - more mailing lists