Files
linux/drivers/edac
Rosen Penev f42f3076dd EDAC/sb: Use kzalloc_flex()
Simplifies allocations by using a flexible array member in this struct.

Add __counted_by to get extra runtime analysis. Move counting variable
assignment immediately after allocation as required by __counted_by.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Reviewed-by: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Link: https://patch.msgid.link/20260313215637.6371-1-rosenp@gmail.com
2026-03-13 15:04:33 -07:00
..
2026-02-01 17:37:15 +01:00
2024-03-27 18:26:58 +01:00
2026-03-13 15:03:36 -07:00
2026-03-13 15:04:33 -07:00