Re: [PATCH] drm/rockchip: Avoid uninitialized use of endpoint id in LVDS

From: Heiko Stuebner
Date: Sun Nov 29 2020 - 11:41:36 EST


On Tue, 10 Nov 2020 21:04:30 +0100, Paul Kocialkowski wrote:
> In the Rockchip DRM LVDS component driver, the endpoint id provided to
> drm_of_find_panel_or_bridge is grabbed from the endpoint's reg property.
>
> However, the property may be missing in the case of a single endpoint.
> Initialize the endpoint_id variable to 0 to avoid using an
> uninitialized variable in that case.

Applied, thanks!

[1/1] drm/rockchip: Avoid uninitialized use of endpoint id in LVDS
commit: aec9fe892812ed10d0bffcf309d2a8fc380d8ce6

Best regards,
--
Heiko Stuebner <heiko@xxxxxxxxx>