[PATCH] drm/msm/dpu: Fix pointer dereferenced before checking
dmitry.baryshkov at linaro.org
Mon May 30 21:49:21 UTC 2022
A nit: patchwork thinks that two patches from the same author with the
same subject are two versions of the same patch. In future, could you
please send such patches with distinct names? No need to send v2 now
unless review shows other issues with the patches.
On Mon, 30 May 2022 at 10:33, Haowen Bai <baihaowen at meizu.com> wrote:
> The ctx->hw is dereferencing before null checking, so move
> it after checking.
> Signed-off-by: Haowen Bai <baihaowen at meizu.com>
> drivers/gpu/drm/msm/disp/dpu1/dpu_hw_wb.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
With best wishes
More information about the dri-devel