[PATCH] drm/msm/dpu: avoid uninitialized variable use

Nathan Chancellor nathan at kernel.org
Thu Aug 7 14:34:44 UTC 2025


On Thu, Aug 07, 2025 at 11:09:38AM +0300, Dmitry Baryshkov wrote:
> Having no plane->crtc is a valid setting and it is handled inside
> drm_atomic_helper_check_plane_state() by setting plane_state->visible =
> false and returning early. Setting crtc_state to NULL is a correct fix.
> Could you please send it?

I sent this fix three weeks ago, could this be applied?

https://lore.kernel.org/20250715-drm-msm-fix-const-uninit-warning-v1-1-d6a366fd9a32@kernel.org/

Cheers,
Nathan


More information about the dri-devel mailing list