| Date | Wed, 14 Feb 2024 09:49:18 -0500 | Subject | Re: [PATCH 2/2] RAS: Introduce the FRU Memory Poison Manager | From | Yazen Ghannam <> |
| |
On 2/14/2024 5:51 AM, Borislav Petkov wrote: > On Tue, Feb 13, 2024 at 09:35:16PM -0600, Yazen Ghannam wrote: >> +static inline struct cper_sec_fru_mem_poison *get_fmp(struct fru_rec *rec) >> +{ >> + return &rec->fmp; >> +} > > Let's get rid of those silly helpers, diff for this one below. > > The logic is, you pass around struct fru_rec *rec and inside the > functions you deref what you need. >
Okay, agreed.
Thanks, Yazen
|