linux/drivers/gpu/drm/zte
Shawn Guo dc5e1d628a drm: zte: fix static checker warning on variable 'fmt'
Commit 4e986d3705 ("drm: zte: add overlay plane support") introduces
the following static checker warning:

 drivers/gpu/drm/zte/zx_plane.c:170 zx_vl_rsz_setup()
 warn: always true condition '(fmt >= 0) => (0-u32max >= 0)'

Fix it by change 'fmt' type to integer.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Fixes: 4e986d3705 ("drm: zte: add overlay plane support")
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1487598551-28310-1-git-send-email-shawnguo@kernel.org
2017-02-23 08:54:15 +08:00
..
Kconfig drm: zte: support hdmi audio through spdif 2017-01-28 10:17:39 +08:00
Makefile drm: zte: add tvenc driver support 2017-01-28 11:51:23 +08:00
zx_drm_drv.c drm: Rely on mode_config data for fb_helper initialization 2017-02-02 19:12:00 +01:00
zx_drm_drv.h drm: zte: add tvenc driver support 2017-01-28 11:51:23 +08:00
zx_hdmi_regs.h drm: zte: support hdmi audio through spdif 2017-01-28 10:17:39 +08:00
zx_hdmi.c drm: zte: move struct vou_inf into zx_vou driver 2017-01-28 11:51:21 +08:00
zx_plane_regs.h drm: zte: add overlay plane support 2017-01-28 10:17:41 +08:00
zx_plane.c drm: zte: fix static checker warning on variable 'fmt' 2017-02-23 08:54:15 +08:00
zx_plane.h drm: zte: add .atomic_disable hook to disable graphic layer 2017-01-28 10:17:40 +08:00
zx_tvenc_regs.h drm: zte: add tvenc driver support 2017-01-28 11:51:23 +08:00
zx_tvenc.c drm: zte: add tvenc driver support 2017-01-28 11:51:23 +08:00
zx_vou_regs.h drm: zte: add function to configure vou_ctrl dividers 2017-01-28 11:51:22 +08:00
zx_vou.c ZTE DRM driver updates for 4.11: 2017-02-01 08:29:04 +10:00
zx_vou.h drm: zte: add function to configure vou_ctrl dividers 2017-01-28 11:51:22 +08:00