linux/drivers/gpu/drm/bridge
Tom Rix 02cd2d3144 drm/bridge: sil_sii8620: initialize return of sii8620_readb
clang static analysis flags this error

sil-sii8620.c:184:2: warning: Undefined or garbage value
  returned to caller [core.uninitialized.UndefReturn]
        return ret;
        ^~~~~~~~~~

sii8620_readb calls sii8620_read_buf.
sii8620_read_buf can return without setting its output
pararmeter 'ret'.

So initialize ret.

Fixes: ce6e153f41 ("drm/bridge: add Silicon Image SiI8620 driver")
Signed-off-by: Tom Rix <trix@redhat.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200712152453.27510-1-trix@redhat.com
2020-07-13 17:57:17 +02:00
..
adv7511 drm: bridge: adv7511: Make connector creation optional 2020-06-23 19:51:55 +02:00
analogix Backmerge remote-tracking branch 'drm/drm-next' into drm-misc-next 2020-06-29 12:16:26 +02:00
synopsys drm/bridge: dw-hdmi: Always add the bridge in the global bridge list 2020-07-10 20:21:45 +02:00
cdns-dsi.c drm: bridge: Pass drm_display_info to drm_bridge_funcs .mode_valid() 2020-06-23 19:53:27 +02:00
chrontel-ch7033.c drm: bridge: Pass drm_display_info to drm_bridge_funcs .mode_valid() 2020-06-23 19:53:27 +02:00
display-connector.c drm/bridge: Add bridge driver for display connectors 2020-02-26 13:31:37 +02:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
lvds-codec.c drm/bridge: Extend bridge API to disable connector creation 2020-02-26 13:31:23 +02:00
Makefile drm/bridge: chrontel-ch7033: Add a new driver 2020-05-05 09:48:56 +02:00
megachips-stdpxxxx-ge-b850v3-fw.c drm/bridge: Extend bridge API to disable connector creation 2020-02-26 13:31:23 +02:00
nwl-dsi.c drm: bridge: Pass drm_display_info to drm_bridge_funcs .mode_valid() 2020-06-23 19:53:27 +02:00
nwl-dsi.h drm/bridge: Add NWL MIPI DSI host controller support 2020-04-09 15:52:47 +02:00
nxp-ptn3460.c drm/bridge: Extend bridge API to disable connector creation 2020-02-26 13:31:23 +02:00
panel.c drm/bridge: panel: Return always an error pointer in drm_panel_bridge_add() 2020-04-25 16:48:55 +02:00
parade-ps8622.c drm/bridge: Extend bridge API to disable connector creation 2020-02-26 13:31:23 +02:00
parade-ps8640.c drm/bridge: ps8640: Let panel to set the connector type 2020-04-25 16:43:11 +02:00
sii902x.c drm: Nuke mode->vrefresh 2020-05-27 14:31:42 +03:00
sii9234.c drm: bridge: Pass drm_display_info to drm_bridge_funcs .mode_valid() 2020-06-23 19:53:27 +02:00
sil-sii8620.c drm/bridge: sil_sii8620: initialize return of sii8620_readb 2020-07-13 17:57:17 +02:00
sil-sii8620.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
simple-bridge.c drm: bridge: simple-bridge: Make connector creation optional 2020-06-23 19:52:32 +02:00
tc358764.c drm: Remove drm_fb_helper add, add all and remove connector calls 2020-03-06 14:19:58 +01:00
tc358767.c drm: bridge: Pass drm_display_info to drm_bridge_funcs .mode_valid() 2020-06-23 19:53:27 +02:00
tc358768.c drm/bridge: Replace HTTP links with HTTPS ones 2020-07-10 20:21:45 +02:00
thc63lvd1024.c drm: bridge: Pass drm_display_info to drm_bridge_funcs .mode_valid() 2020-06-23 19:53:27 +02:00
ti-sn65dsi86.c drm/bridge: Replace HTTP links with HTTPS ones 2020-07-10 20:21:45 +02:00
ti-tfp410.c drm: bridge: Pass drm_display_info to drm_bridge_funcs .mode_valid() 2020-06-23 19:53:27 +02:00
ti-tpd12s015.c drm/bridge: Add driver for the TI TPD12S015 HDMI level shifter 2020-02-26 13:31:38 +02:00