Re: [PATCH linux-next] drm/nouveau/disp: switch to use kmemdup() helper
From: Kees Cook
Date: Thu Dec 14 2023 - 11:20:57 EST
On Thu, Dec 14, 2023 at 08:03:22PM +0800, yang.guang5@xxxxxxxxxx wrote:
> From: Yang Guang <yang.guang5@xxxxxxxxxx>
>
> Use kmemdup() helper instead of open-coding to
> simplify the code.
>
> Signed-off-by: Chen Haonan <chen.haonan2@xxxxxxxxxx>
Sure, good cleanup.
Reviewed-by: Kees Cook <keescook@xxxxxxxxxxxx>
--
Kees Cook