diff options
| author | Ethan Carter Edwards <ethan@ethancedwards.com> | 2025-03-17 08:21:56 -0400 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-03-17 12:32:59 +0000 |
| commit | 6d9d66626c58bcd9b949574aca7d47149b8ad9e1 (patch) | |
| tree | 658e1da0151ac9810e86798db2b319d93f82f6ce /tools/perf/scripts/python | |
| parent | ASoC: cs35l56: Remove redundant 'flush_workqueue()' calls (diff) | |
| download | linux-6d9d66626c58bcd9b949574aca7d47149b8ad9e1.tar.gz linux-6d9d66626c58bcd9b949574aca7d47149b8ad9e1.zip | |
ASoC: Intel: avs: Replace devm_kzalloc() with devm_kcalloc()
Open coded arithmetic in allocator arguments is discouraged [1]. Helper
functions like kcalloc or, in this case, devm_kcalloc are preferred.
[1]: https://www.kernel.org/doc/html/latest/process/deprecated.html#open-coded-arithmetic-in-allocator-arguments
Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://patch.msgid.link/20250317-sound-avs-kcalloc-v2-1-20e2a132b18f@ethancedwards.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
