diff options
| author | Rosen Penev <rosenp@gmail.com> | 2026-08-14 13:50:18 -0700 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-08-31 22:55:44 +0100 |
| commit | caae0e2d17185a2489365f3f97d8a5b09a9da638 (patch) | |
| tree | 2f57dac53ab9ef4177fdc79c2d0e5a352d94c00b /tools/perf/scripts/python/stackcollapse.py | |
| parent | 27bb680f95568c6e319fc35fe9ddc1a952e87e33 (diff) | |
ASoC: tegra: ADX: convert map to flexible array
Replace the pointer-based map allocation with a flexible array
member and use struct_size() for allocation. This simplifies
the code and avoid an extra allocation.
Assisted-by: opencode:big-pickle
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Link: https://patch.msgid.link/20260814205018.39015-1-rosenp@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
