Re: [PATCH v2 6/8] x86/MCE/AMD: Drop tmp variable in translation code

2020-09-23 Thread Yazen Ghannam
On Wed, Sep 23, 2020 at 10:05:56AM +0200, Borislav Petkov wrote: > On Thu, Sep 03, 2020 at 08:01:42PM +, Yazen Ghannam wrote: > > From: Yazen Ghannam > > > > Remove the "tmp" variable used to save register values. Save the values > > in existing variables, if possible. > > > > The register v

Re: [PATCH v2 6/8] x86/MCE/AMD: Drop tmp variable in translation code

2020-09-23 Thread Borislav Petkov
On Thu, Sep 03, 2020 at 08:01:42PM +, Yazen Ghannam wrote: > From: Yazen Ghannam > > 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

[PATCH v2 6/8] x86/MCE/AMD: Drop tmp variable in translation code

2020-09-03 Thread Yazen Ghannam
From: Yazen Ghannam 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 registe