diff options
author | Shen Lichuan <shenlichuan@vivo.com> | 2024-08-26 12:34:54 +0800 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2024-08-26 10:32:12 +0200 |
commit | f7b1633d6467a08ff78744cb519a92fb24ad9a0c (patch) | |
tree | b46260299b340d2e0731d4e159ab216874cfa640 /tools/perf/scripts/python/task-analyzer.py | |
parent | b29ba8f1f9429b775a8b901364a21291588c2a23 (diff) |
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/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions