[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <34f22a20-8716-4ee4-82f9-b6dd42029a47@amd.com>
Date: Wed, 14 Feb 2024 09:49:18 -0500
From: Yazen Ghannam <yazen.ghannam@....com>
To: Borislav Petkov <bp@...en8.de>
Cc: yazen.ghannam@....com, tony.luck@...el.com, linux-edac@...r.kernel.org,
linux-kernel@...r.kernel.org, avadhut.naik@....com, john.allen@....com,
muralidhara.mk@....com, naveenkrishna.chatradhi@....com,
sathyapriya.k@....com
Subject: Re: [PATCH 2/2] RAS: Introduce the FRU Memory Poison Manager
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
Powered by blists - more mailing lists