diff options
author | Ethan Carter Edwards <ethan@ethancedwards.com> | 2025-03-17 15:21:57 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-03-17 15:33:00 +0300 |
commit | 61b1a1bddf7d166946d7ca7054b6cbced29b72f5 (patch) | |
tree | 37c1690c15c3b2c510ff3c25befdbeb3b3bd35f9 /lib/debugobjects.c | |
parent | 6d9d66626c58bcd9b949574aca7d47149b8ad9e1 (diff) | |
download | linux-61b1a1bddf7d166946d7ca7054b6cbced29b72f5.tar.xz |
ASoC: Intel: avs: ssm4567: 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-2-20e2a132b18f@ethancedwards.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions