diff options
author | 2022-06-12 15:21:51 +0200 | |
---|---|---|
committer | 2022-06-12 16:07:06 +0200 | |
commit | c750c4ce1ad69d3df68359abce70ee3d0064c97a (patch) | |
tree | 19d50be2e70f36f6962e9c7d9f3ff953045054a4 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | drm: of: Mark empty drm_of_get_data_lanes_count and drm_of_get_data_lanes_ep static (diff) | |
download | linux-dev-c750c4ce1ad69d3df68359abce70ee3d0064c97a.tar.xz linux-dev-c750c4ce1ad69d3df68359abce70ee3d0064c97a.zip |
drm/bridge: tc358775: Fix drm_of_get_data_lanes_count_ep conversion
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 <lkp@intel.com>
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Andrzej Hajda <andrzej.hajda@intel.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Lucas Stach <l.stach@pengutronix.de>
Cc: Maxime Ripard <maxime@cerno.tech>
Cc: Robert Foss <robert.foss@linaro.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
To: dri-devel@lists.freedesktop.org
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220612132152.91052-2-marex@denx.de
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions