Re: [tip: ras/core] x86/mce: Add a struct mce.kflags field

From: Borislav Petkov
Date: Mon Apr 20 2020 - 04:42:58 EST


On Mon, Apr 20, 2020 at 01:06:40AM -0700, Christoph Hellwig wrote:
> Err, how can you add a new field to an uapi structure and not break
> things?

By adding it to the end of the structure. The mcelog tool gets the
record length first, before doing anything with the records.

--
Regards/Gruss,
Boris.

SUSE Software Solutions Germany GmbH, GF: Felix ImendÃrffer, HRB 36809, AG NÃrnberg