summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_fourcc.c
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@bootlin.com>2019-02-08 10:05:40 +0100
committerMaxime Ripard <maxime.ripard@bootlin.com>2019-02-08 10:28:11 +0100
commit1c7c62a37a5fc50599e1aa7e72dd0fc785fc958a (patch)
treeda6c3ad1fd74da31076ebff2fc7e0eb00e04d5b4 /drivers/gpu/drm/drm_fourcc.c
parentdrm: remove drmP.h from drm_modeset_helper.h (diff)
downloadlinux-1c7c62a37a5fc50599e1aa7e72dd0fc785fc958a.tar.xz
linux-1c7c62a37a5fc50599e1aa7e72dd0fc785fc958a.zip
drm/sun4i: dsi: Fix unitialized variable warning
Since the DPHY rework, one error path doesn't set the return error code before jumping to its error label, which in turns make gcc (rightfully) complain about the variable holding the error code being uninitialized. Fix this. Fixes: bb3b6fcb6849 ("sun6i: dsi: Convert to generic phy handling") Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190208090540.19626-1-maxime.ripard@bootlin.com
Diffstat (limited to 'drivers/gpu/drm/drm_fourcc.c')
0 files changed, 0 insertions, 0 deletions