Re: [PATCH v2 06/10] x86/mce: Convert multiple if () statements into a switch() statement
From: Sohil Mehta
Date: Fri Oct 18 2024 - 20:05:02 EST
On 10/18/2024 1:14 PM, Tony Luck wrote:
> The vendor specific bits are large enough to warrant their own
> static functions (as we do elsewhere in this file).
>
> How about this (only compile-tested) patch?
>
Yeah, it does make it easier to read. Can some of the hardcoded numbers
be changed to vfm macros as well?