lkml.org 
[lkml]   [2024]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 2/2] RAS: Introduce the FRU Memory Poison Manager
From
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

\
 
 \ /
  Last update: 2024-05-27 15:02    [W:0.261 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site