Re: [PATCH] drm/msm/dpu: remove NULL-ness check in dpu_hw_intr_destroy

2022-05-11 Thread Stephen Boyd
Quoting Dmitry Baryshkov (2022-05-07 04:40:09) > There is no need to check that kfree() argument is not NULL. Remove > extra check and call kfree() unconditionally. > > Reported-by: kernel test robot > Signed-off-by: Dmitry Baryshkov > --- Reviewed-by: Stephen Boyd

Re: [Freedreno] [PATCH] drm/msm/dpu: remove NULL-ness check in dpu_hw_intr_destroy

2022-05-07 Thread Abhinav Kumar
On 5/7/2022 4:40 AM, Dmitry Baryshkov wrote: There is no need to check that kfree() argument is not NULL. Remove extra check and call kfree() unconditionally. Reported-by: kernel test robot Signed-off-by: Dmitry Baryshkov Reviewed-by: Abhinav Kumar --- drivers/gpu/drm/msm/disp/dpu1/dpu

[PATCH] drm/msm/dpu: remove NULL-ness check in dpu_hw_intr_destroy

2022-05-07 Thread Dmitry Baryshkov
There is no need to check that kfree() argument is not NULL. Remove extra check and call kfree() unconditionally. Reported-by: kernel test robot Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --