[Freedreno] [PATCH -next] drm/msm/adreno: adreno_gpu: Switch to memdup_user_nul() helper

Dmitry Baryshkov dmitry.baryshkov at linaro.org
Fri Aug 18 11:04:16 UTC 2023


On 10/08/2023 15:04, Ruan Jinjie wrote:
> Use memdup_user_nul() helper instead of open-coding to simplify the code.
> 
> Signed-off-by: Ruan Jinjie <ruanjinjie at huawei.com>
> ---
>   drivers/gpu/drm/msm/adreno/adreno_gpu.c | 14 +++-----------
>   1 file changed, 3 insertions(+), 11 deletions(-)

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>

-- 
With best wishes
Dmitry



More information about the Freedreno mailing list