summaryrefslogtreecommitdiff
path: root/include/uapi/drm
diff options
context:
space:
mode:
authorJinjie Ruan <ruanjinjie@huawei.com>2024-09-02 10:33:00 +0800
committerMatt Coster <matt.coster@imgtec.com>2024-09-02 09:55:00 +0100
commit2872a57c7ad427d428c6d12e95e55b32bdc8e3b8 (patch)
treee017a4615ec94c7b6201a3b9b526285a9bbae7b7 /include/uapi/drm
parent3742c20958a5b02ecba08d71036bae3e7b9d21b3 (diff)
drm/imagination: Use memdup_user() helper
Switching to memdup_user(), which combines kmalloc() and copy_from_user(), and it can simplfy code. Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com> Suggested-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Reviewed-by: Frank Binns <frank.binns@imgtec.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240902023300.1214753-1-ruanjinjie@huawei.com Signed-off-by: Matt Coster <matt.coster@imgtec.com>
Diffstat (limited to 'include/uapi/drm')
0 files changed, 0 insertions, 0 deletions