diff options
| author | Rosen Penev <rosenp@gmail.com> | 2026-06-28 20:25:38 -0700 |
|---|---|---|
| committer | Krzysztof Kozlowski <krzk@kernel.org> | 2026-07-18 18:21:13 +0200 |
| commit | 7b2a8eb5c7b5545793e18036c8b66106f2d9fbb8 (patch) | |
| tree | c6837c1f5fbe75c1299b788a0b5ff84114eaf695 /include/linux/timerqueue_types.h | |
| parent | a016e89781478e4b756fbf104945d037d0cdc809 (diff) | |
clk: samsung: use kzalloc_flex
Simplify allocation by using kzalloc_flex with a flexible array member
to combine allocations. samsung_clk_alloc_reg_dump is no longer needed
for this struct but is needed elsewhere.
Add __counted_by for extra runtime analysis. Move counting variable
assignment after kzalloc_flex which does the same with GCC 15 and above.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://patch.msgid.link/20260629032540.2331559-2-rosenp@gmail.com
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'include/linux/timerqueue_types.h')
0 files changed, 0 insertions, 0 deletions
