diff options
author | 2024-08-26 12:34:54 +0800 | |
---|---|---|
committer | 2024-08-26 10:32:12 +0200 | |
commit | f7b1633d6467a08ff78744cb519a92fb24ad9a0c (patch) | |
tree | b46260299b340d2e0731d4e159ab216874cfa640 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | ALSA: hda/realtek: Convert existing CS35L56 products to use autodetect fixup function (diff) | |
download | wireguard-linux-f7b1633d6467a08ff78744cb519a92fb24ad9a0c.tar.xz wireguard-linux-f7b1633d6467a08ff78744cb519a92fb24ad9a0c.zip |
ALSA: usb-audio: Use kmemdup_array instead of kmemdup for multiple allocation
Let the kmemdup_array() take care about multiplication
and possible overflows.
Using kmemdup_array() is more appropriate and makes the code
easier to audit.
Signed-off-by: Shen Lichuan <shenlichuan@vivo.com>
Link: https://patch.msgid.link/20240826043454.3198-1-shenlichuan@vivo.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions