summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJinjie Ruan <ruanjinjie@huawei.com>2024-09-02 05:33:00 +0300
committerMatt Coster <matt.coster@imgtec.com>2024-09-02 11:55:00 +0300
commit2872a57c7ad427d428c6d12e95e55b32bdc8e3b8 (patch)
treee017a4615ec94c7b6201a3b9b526285a9bbae7b7 /include/linux
parent3742c20958a5b02ecba08d71036bae3e7b9d21b3 (diff)
downloadlinux-2872a57c7ad427d428c6d12e95e55b32bdc8e3b8.tar.xz
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/linux')
0 files changed, 0 insertions, 0 deletions