Skip to content
Snippets Groups Projects
Verified Commit 2872a57c authored by Jinjie Ruan's avatar Jinjie Ruan Committed by Matt Coster
Browse files

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: default avatarJinjie Ruan <ruanjinjie@huawei.com>
Suggested-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: default avatarFrank Binns <frank.binns@imgtec.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240902023300.1214753-1-ruanjinjie@huawei.com


Signed-off-by: default avatarMatt Coster <matt.coster@imgtec.com>
parent 3742c209
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment