Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drm: zte: fix static checker warning on variable 'fmt'
Commit 4e986d3 ("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 <[email protected]> Fixes: 4e986d3 ("drm: zte: add overlay plane support") Signed-off-by: Shawn Guo <[email protected]> Reviewed-by: Sean Paul <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
- Loading branch information