summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorShen Lichuan <shenlichuan@vivo.com>2024-08-26 11:46:38 +0800
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2024-10-12 16:28:24 +0200
commit4510319676bdf96da819599643809e5155ef3460 (patch)
tree52082da6dd75e2963b6ccbdb7acd3b071545474d /tools/perf/scripts/python
parent953c03d8cb41d08fe6994f5d94c4393ac9da2f13 (diff)
downloadlinux-4510319676bdf96da819599643809e5155ef3460.tar.gz
linux-4510319676bdf96da819599643809e5155ef3460.zip
media: pvrusb2: 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> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions