[PATCH] drm/rockchip: Avoid uninitialized use of endpoint id in LVDS
Heiko Stuebner
heiko at sntech.de
Sun Nov 29 11:38:22 EST 2020
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 at sntech.de>
More information about the Linux-rockchip
mailing list