aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorTom Rix <[email protected]>2020-07-12 08:24:53 -0700
committerSam Ravnborg <[email protected]>2020-07-13 17:57:17 +0200
commit02cd2d3144653e6e2a0c7ccaa73311e48e2dc686 (patch)
tree94ac6d1c61a78a48705bcde8fd7b99f5d590e7e9 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parent1e691e2444871d1fde11b611653b5da9010dcec8 (diff)
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: ce6e153f414a ("drm/bridge: add Silicon Image SiI8620 driver") Signed-off-by: Tom Rix <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Reviewed-by: Andrzej Hajda <[email protected]> Signed-off-by: Sam Ravnborg <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions