diff options
| author | Rosen Penev <rosenp@gmail.com> | 2026-03-13 14:59:00 -0700 |
|---|---|---|
| committer | Tony Luck <tony.luck@intel.com> | 2026-03-13 15:03:36 -0700 |
| commit | 7cbea96f6660786158ed7dc81fe40273d860355b (patch) | |
| tree | 95976044767cb583508b8dc8ccde8b54e326953d /tools/perf/scripts/python | |
| parent | 62a9fc50e8d947601ea3484e732b1a65a0a54b96 (diff) | |
EDAC/i7core: 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 to right 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/20260313215900.6724-1-rosenp@gmail.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
