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> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| audio-graph-card.c | ||
| audio-graph-card2-custom-sample.c | ||
| audio-graph-card2-custom-sample1.dtsi | ||
| audio-graph-card2-custom-sample2.dtsi | ||
| audio-graph-card2.c | ||
| simple-card-utils.c | ||
| simple-card.c | ||
| test-component.c | ||