summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorEthan Carter Edwards <ethan@ethancedwards.com>2025-03-08 13:52:59 -0500
committerTakashi Iwai <tiwai@suse.de>2025-03-12 15:32:41 +0100
commit520a563b9a162d8a7484a32086de8e7c84d69945 (patch)
tree4d9a2aa89b63145d4ed0d9b9b415b1f2fa217d8d /scripts/generate_rust_analyzer.py
parentef749c8d9573d256da139b6ebccceb678ec00eaa (diff)
ALSA: ctxfi: change dao_set_input functions from kzalloc to kcalloc
We are trying to get rid of all multiplications from allocation functions to prevent potential integer overflows. Here the multiplication is probably safe, but using kcalloc() is more appropriate and improves readability. This patch has no effect on runtime behavior. Link: https://github.com/KSPP/linux/issues/162 [1] Link: https://www.kernel.org/doc/html/next/process/deprecated.html#open-coded-arithmetic-in-allocator-arguments Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com> Link: https://patch.msgid.link/20250308-ctdaio-kzalloc-v1-1-804a09875b0e@ethancedwards.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions