diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2017-02-20 21:49:11 +0800 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2017-02-23 08:54:15 +0800 |
commit | dc5e1d628a7bb631450ea661553a8bb496891f47 (patch) | |
tree | ab0b5e595a84097e6e979aae849e1dfedfee4a7e /crypto/jitterentropy-kcapi.c | |
parent | 2220fc1ab363e6fab1f321430d69be17a8b92bd7 (diff) | |
download | linux-dc5e1d628a7bb631450ea661553a8bb496891f47.tar.bz2 |
drm: zte: fix static checker warning on variable 'fmt'
Commit 4e986d3705df ("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: 4e986d3705df ("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
Diffstat (limited to 'crypto/jitterentropy-kcapi.c')
0 files changed, 0 insertions, 0 deletions