diff options
| author | Rosen Penev <rosenp@gmail.com> | 2026-05-12 02:03:51 +0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-05-16 05:30:33 +0300 |
| commit | e0014849e9af1e08aaaf2b7bc26b1918d8275f24 (patch) | |
| tree | 62514c6be45d8a8d2db3599dae32339d7d0ab930 /include/linux | |
| parent | fea3df9eab74863b6d388fc71357342e25c5e877 (diff) | |
| download | linux-e0014849e9af1e08aaaf2b7bc26b1918d8275f24.tar.xz | |
ASoC: sigmadsp: Use flexible array for control cache
Allocate SigmaDSP controls with kzalloc_flex() for the trailing
cache data instead of open-coding the size calculation.
Annotate the cache array with its existing byte count so the allocation
helper can initialize the counter.
Assisted-by: Codex:GPT-5.5
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://patch.msgid.link/20260511230351.28868-1-rosenp@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
