summaryrefslogtreecommitdiff
path: root/rust/helpers/of.c
diff options
context:
space:
mode:
authorQianfeng Rong <rongqianfeng@vivo.com>2025-08-20 20:34:20 +0800
committerMark Brown <broonie@kernel.org>2025-08-20 15:09:24 +0100
commit96bcb34df55f7fee99795127c796315950c94fed (patch)
tree2524efa15e1fce9b2640b97eb9555889ecefcbbb /rust/helpers/of.c
parent3b6f4bd6cda2797b0d999a129376c112d41604f4 (diff)
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>
Diffstat (limited to 'rust/helpers/of.c')
0 files changed, 0 insertions, 0 deletions