diff options
author | Yu Jiaoliang <[email protected]> | 2024-08-21 16:40:36 +0200 |
---|---|---|
committer | Andi Shyti <[email protected]> | 2024-08-24 01:13:08 +0200 |
commit | 3126d5fff54368288e7fe1c0fd4ecb36b868e5aa (patch) | |
tree | 66a6ce5d28b07fbe941c4f19d8c8446b6962a4d3 /tools/testing/selftests/bpf/progs/test_autoload.c | |
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 <[email protected]>
Reviewed-by: Jani Nikula <[email protected]>
Reviewed-by: Andi Shyti <[email protected]>
Signed-off-by: Andi Shyti <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions