diff options
author | Yu Jiaoliang <yujiaoliang@vivo.com> | 2024-08-21 16:40:36 +0200 |
---|---|---|
committer | Andi Shyti <andi.shyti@linux.intel.com> | 2024-08-24 01:13:08 +0200 |
commit | 3126d5fff54368288e7fe1c0fd4ecb36b868e5aa (patch) | |
tree | 66a6ce5d28b07fbe941c4f19d8c8446b6962a4d3 /tools/perf/scripts/python/syscall-counts.py | |
parent | 6628851159c77cf5666160e0272d46acc0772a6c (diff) |
drm/i915/gt: Use kmemdup_array instead of kmemdup for multiple allocation
Let the kememdup_array() take care about multiplication and possible
overflows.
v2:
- Change subject
- Leave one blank line between the commit log and the tag section
- Fix code alignment issue
v3:
- Fix code alignment
- Apply the patch on a clean drm-tip
Signed-off-by: Yu Jiaoliang <yujiaoliang@vivo.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240821144036.343556-1-andi.shyti@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions