ASoC: test-component: Use kcalloc() instead of kzalloc()

Use devm_kcalloc() in test_driver_probe() to gain built-in overflow
protection, making memory allocation safer when calculating allocation
size compared to explicit multiplication.

Signed-off-by: Qianfeng Rong <rongqianfeng@vivo.com>
Link: https://patch.msgid.link/20250820123423.470486-4-rongqianfeng@vivo.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Qianfeng Rong 2025-08-20 20:34:20 +08:00 • committed by Mark Brown
commit 96bcb34df5
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0