diff options
author | 2025-03-17 08:21:59 -0400 | |
---|---|---|
committer | 2025-03-17 12:33:02 +0000 | |
commit | 3602571baf9a6864bde89422d179e422a3ea4d8d (patch) | |
tree | 891a45d373cb8eb965283d91508b7d5168708f17 /scripts/lib/kdoc/kdoc_parser.py | |
parent | ASoC: Intel: avs: max98373: Replace devm_kzalloc() with devm_kcalloc() (diff) | |
download | wireguard-linux-3602571baf9a6864bde89422d179e422a3ea4d8d.tar.xz wireguard-linux-3602571baf9a6864bde89422d179e422a3ea4d8d.zip |
ASoC: Intel: avs: max98927: 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-4-20e2a132b18f@ethancedwards.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions