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 <ruanjin...@huawei.com>
---
  drivers/gpu/drm/msm/adreno/adreno_gpu.c | 14 +++-----------
  1 file changed, 3 insertions(+), 11 deletions(-)

Reviewed-by: Dmitry Baryshkov <dmitry.barysh...@linaro.org>

--
With best wishes
Dmitry

Reply via email to