diff options
author | 2025-03-17 08:21:58 -0400 | |
---|---|---|
committer | 2025-03-17 12:33:01 +0000 | |
commit | bde479694a7da7c127bb5bba98e2e4773f1d7951 (patch) | |
tree | 6757f0f77c8feab15cf7f00987b38765979c70ed /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ASoC: Intel: avs: ssm4567: Replace devm_kzalloc() with devm_kcalloc() (diff) | |
download | linux-rng-bde479694a7da7c127bb5bba98e2e4773f1d7951.tar.xz linux-rng-bde479694a7da7c127bb5bba98e2e4773f1d7951.zip |
ASoC: Intel: avs: max98373: 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-3-20e2a132b18f@ethancedwards.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions