diff options
| author | Zhang Heng <zhangheng@kylinos.cn> | 2025-01-14 09:12:55 +0800 |
|---|---|---|
| committer | Hans Verkuil <hverkuil@xs4all.nl> | 2025-02-21 10:33:04 +0100 |
| commit | 8deb1e2a392bbebe159aa4f4d33f4e0a62260c24 (patch) | |
| tree | 2c7ee6b69ef8f14174c41324847d6f7df4387c5a /tools/perf/scripts/python | |
| parent | media: pwc: remove useless header files (diff) | |
| download | linux-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
