[PATCH] drm/exynos: dpi: fix panel node reference leak
Krzysztof Kozlowski
krzk at kernel.org
Tue Nov 3 23:17:18 PST 2026
On 04/11/2026 03:40, Wentao Liang wrote:
> exynos_dpi_parse_dt() stores a reference to the remote panel node
> obtained with of_graph_get_remote_node(). Nothing ever drops it:
> exynos_dpi_probe() only needs it to look the panel up with
> of_drm_find_panel(), and the two parse error paths return without
> releasing it either.
>
> Release the reference once the panel has been looked up, and on the
> error paths before returning.
>
> Fixes: 86418f90a4c1 ("drm: convert drivers to use of_graph_get_remote_node")
> Cc: stable at vger.kernel.org
> Assisted-by: DeepSeek-V4.1-Flash and OpenAI Codex
> Signed-off-by: Wentao Liang <vulab at iscas.ac.cn>
Pure bot spam.
Best regards,
Krzysztof
More information about the linux-arm-kernel
mailing list