Skip to content
Commit 632ca3c9 authored by Chen Haonan's avatar Chen Haonan Committed by Danilo Krummrich
Browse files

drm/nouveau/disp: switch to use kmemdup() helper



Use kmemdup() helper instead of open-coding to
simplify the code.

Signed-off-by: default avatarChen Haonan <chen.haonan2@zte.com.cn>
Reviewed-by: default avatarYang Guang <yang.guang5@zte.com.cn>
Reviewed-by: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: default avatarDanilo Krummrich <dakr@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/202401091424115185126@zte.com.cn
parent ca077ff8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment