summaryrefslogtreecommitdiff
path: root/include/uapi/drm
diff options
context:
space:
mode:
authorJinjie Ruan <ruanjinjie@huawei.com>2024-08-31 18:29:30 +0800
committerMatt Coster <matt.coster@imgtec.com>2024-09-02 09:54:13 +0100
commit3742c20958a5b02ecba08d71036bae3e7b9d21b3 (patch)
tree7edfc6b891de84c512c0b28d86277e672226d1cd /include/uapi/drm
parenteb4accc5234525e2cb2b720187ccaf6db99b705f (diff)
drm/imagination: Use memdup_user() helper to simplify code
Switching to memdup_user(), which combines kmalloc() and copy_from_user(), and it can simplfy code. Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com> Reviewed-by: Frank Binns <frank.binns@imgtec.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240831102930.97502-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