aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorZhang Heng <zhangheng@kylinos.cn>2025-01-14 09:12:55 +0800
committerHans Verkuil <hverkuil@xs4all.nl>2025-02-21 10:33:04 +0100
commit8deb1e2a392bbebe159aa4f4d33f4e0a62260c24 (patch)
tree2c7ee6b69ef8f14174c41324847d6f7df4387c5a /tools/perf/scripts/python
parentmedia: pwc: remove useless header files (diff)
downloadlinux-8deb1e2a392bbebe159aa4f4d33f4e0a62260c24.tar.gz
linux-8deb1e2a392bbebe159aa4f4d33f4e0a62260c24.zip
media: usb: use kmalloc_array() to replace kmalloc()
Use kmalloc_array() to replace kmalloc() with multiplication. kmalloc_array() has multiply overflow check, which will be safer. Signed-off-by: Zhang Heng <zhangheng@kylinos.cn> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions