On Sun, Jun 12, 2022 at 03:21:51PM +0200, Marek Vasut wrote:
> Initialize dsi_lanes to -1, so that in case the endpoint is missing,
> probe would fail as it did before the conversion, instead of depending
> on uninitialized variable and thus undefined behavior.
> 
> Fixes: 56426faa1492 ("drm/bridge: tc358775: Convert to 
> drm_of_get_data_lanes_count_ep")
> Reported-by: kernel test robot <[email protected]>
> Signed-off-by: Marek Vasut <[email protected]>
> Cc: Andrzej Hajda <[email protected]>
> Cc: Laurent Pinchart <[email protected]>
> Cc: Lucas Stach <[email protected]>
> Cc: Maxime Ripard <[email protected]>
> Cc: Robert Foss <[email protected]>
> Cc: Sam Ravnborg <[email protected]>
> To: [email protected]
Acked-by: Sam Ravnborg <[email protected]>

Reply via email to