summaryrefslogtreecommitdiff
path: root/rust/helpers/workqueue.c
diff options
context:
space:
mode:
authorQianfeng Rong <rongqianfeng@vivo.com>2025-08-20 20:34:18 +0800
committerMark Brown <broonie@kernel.org>2025-08-20 15:09:22 +0100
commit45441b933cdfb7a018674049f269d7a1bc1688df (patch)
treebdb7b1365ee1dbe7728f1f5e85f9de4fbe885a67 /rust/helpers/workqueue.c
parent132e098ef9b60760ef9ef0c0eefc80c52cb498fb (diff)
ASoC: codecs: Use kcalloc() instead of kzalloc()
Use devm_kcalloc() in fs_parse_scene_tables() and pcmdev_gain_ctrl_add() 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-2-rongqianfeng@vivo.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions