diff options
| author | Rosen Penev <rosenp@gmail.com> | 2026-06-28 20:25:40 -0700 |
|---|---|---|
| committer | Krzysztof Kozlowski <krzk@kernel.org> | 2026-07-18 18:21:13 +0200 |
| commit | 6d32ae6403694035896cbf0436088fca4c6a35f1 (patch) | |
| tree | c4ba4c3bd9110e73d09a90e36789626fc78ed6ff /include/linux/stackprotector.h | |
| parent | 421ccea8f872c0e7cf6fd754a4a3bef4f45cf2dc (diff) | |
clk: samsung: pll: use kzalloc_flex
Simplify allocation by using a flexible array member to combine
allocations and remove a kfree.
Use __counted_by for extra runtime analysis.
Since rate_table is now a flexible array member, NULL checks don't work.
So use the counting variable to check allocation.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://patch.msgid.link/20260629032540.2331559-4-rosenp@gmail.com
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions
