> From: Rosen Penev <[email protected]> > Sent: Friday, March 20, 2026 4:15 AM > To: [email protected] > Cc: Borislav Petkov <[email protected]>; Luck, Tony <[email protected]>; Kees > Cook <[email protected]>; Gustavo A. R. Silva <[email protected]>; open > list <[email protected]>; open list:KERNEL HARDENING (not > covered by other areas):Keyword:\b__counted_by(_le|_be)?\b <linux- > [email protected]> > Subject: [PATCHv2] EDAC/mc: Use kzalloc_flex() > > Convert struct mem_ctl_info to use flex array and use the new flex array > helpers to simplify initialization. > > Add __counted_by for extra runtime analysis when requested. > > Move counting assignment immediately after allocation as required by > __counted_by. > > Signed-off-by: Rosen Penev <[email protected]> > Reviewed-by: Yazen Ghannam <[email protected]>
LGTM, Reviewed-by: Qiuxu Zhuo <[email protected]> Thanks! -Qiuxu

