diff options
| author | Rosen Penev <rosenp@gmail.com> | 2026-03-25 22:28:47 -0700 |
|---|---|---|
| committer | Stephen Boyd <sboyd@kernel.org> | 2026-04-28 18:44:39 -0700 |
| commit | 4266035a40b6f27f82b5f85dd4e8e23f9a0644a2 (patch) | |
| tree | 1c9868cd127f71b8a6dee79759a0e2a0d7b8c442 /tools/perf/scripts/python | |
| parent | 4758f1354f00abf1d97d2f85a016123c78c1f548 (diff) | |
clk: clk-max77686: kzalloc + kcalloc to kzalloc
Simplify allocation by using a flexible array member to combine
allocations. Use struct_size to calculate size properly.
Use __counted_by to get extra runtime analysis. Assign counting variable
right after allocation as required by __counted_by.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Reviewed-by: Brian Masney <bmasney@redhat.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
