Re: [PATCH 11/13] drm/msm/dp: Initialize the debugfs connector pointer

From: Dmitry Baryshkov

Date: Wed Sep 30 2026 - 16:36:25 EST


On Wed, Sep 30, 2026 at 08:41:55PM +0800, Xilin Wu wrote:
> The debugfs cleanup removed the connector assignment from the debug
> context, but the video-pattern test files still dereference that pointer
> to check connector status. Reading those files can therefore dereference
> NULL.
>
> Store the supplied connector before creating the debugfs files.
>
> Fixes: ab8420418c2e ("drm/msm/dp: cleanup debugfs handling")
>
> Assisted-by: LLM
> Signed-off-by: Xilin Wu <sophon@xxxxxxxxx>

Please don't add empty lines between the tags. With the commit message
fixed:


Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxxxxxxxx>



> ---
> drivers/gpu/drm/msm/dp/dp_debug.c | 1 +
> 1 file changed, 1 insertion(+)
>

--
With best wishes
Dmitry