Messages in this thread | | | From | "Kani, Toshi" <> | Subject | RE: [PATCH] EDAC/ghes: Fix buffer overflow in ghes_edac_register() | Date | Wed, 20 Jul 2022 16:17:50 +0000 |
| |
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
| |