Re: [PATCH] drm/msm/dpu: Add check for cstate

From: Dmitry Baryshkov
Date: Thu Jan 26 2023 - 14:01:31 EST



On Tue, 06 Dec 2022 16:05:17 +0800, Jiasheng Jiang wrote:
> As kzalloc may fail and return NULL pointer,
> it should be better to check cstate
> in order to avoid the NULL pointer dereference
> in __drm_atomic_helper_crtc_reset.
>
>

Applied, thanks!

[1/1] drm/msm/dpu: Add check for cstate
https://gitlab.freedesktop.org/lumag/msm/-/commit/c96988b7d993

Best regards,
--
Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>