diff options
| author | 2026-03-13 14:56:37 -0700 | |
|---|---|---|
| committer | 2026-03-13 15:04:33 -0700 | |
| commit | f42f3076dd9d2cd1bde6abc44e45478fad8a1a54 (patch) | |
| tree | 6d8dd1078cbfc0cdc3126281323858899a320502 /include/linux/bcma/ssh:/git@git.zx2c4.com | |
| parent | EDAC/i7core: Use kzalloc_flex() (diff) | |
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
Diffstat (limited to 'include/linux/bcma/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
