lkml.org 
[lkml]   [2022]   [Jul]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH] EDAC/ghes: Fix buffer overflow in ghes_edac_register()
Date
Borislav Petkov wrote:
> I think it'll be more user-friendly to put
>
> "PROC 1 DIMM 1" for device
>
> and
>
> "NA" or so for bank
>
> instead of setting the label to the NULL string.
>
> I.e., relax that
>
> if (bank && *bank && device && *device)
>
> check there.

Good idea. I will send a v2 patch to set "NA" in case device or bank
is null.

Thanks,
Toshi
\
 
 \ /
  Last update: 2022-07-20 18:19    [W:2.865 / U:0.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site