[PATCH linux-next] drm/nouveau/disp: switch to use kmemdup() helper
Kees Cook
keescook at chromium.org
Thu Dec 14 16:20:49 UTC 2023
On Thu, Dec 14, 2023 at 08:03:22PM +0800, yang.guang5 at zte.com.cn wrote:
> From: Yang Guang <yang.guang5 at zte.com.cn>
>
> Use kmemdup() helper instead of open-coding to
> simplify the code.
>
> Signed-off-by: Chen Haonan <chen.haonan2 at zte.com.cn>
Sure, good cleanup.
Reviewed-by: Kees Cook <keescook at chromium.org>
--
Kees Cook
More information about the Nouveau
mailing list