Re: [bug report] drm: zte: add overlay plane support

2017-02-08 Thread Shawn Guo
Hi Dan, Thanks for the report. On Wed, Feb 08, 2017 at 09:39:51AM +0300, Dan Carpenter wrote: > Hello Shawn Guo, > > The patch 4e986d3705df: "drm: zte: add overlay plane support" from > Nov 16, 2016, leads to the following static checker warning: > > drivers/gpu/drm/zte/zx_plane.c:170 zx_

Re: [bug report] drm: zte: add overlay plane support

2017-02-07 Thread Dan Carpenter
Oh. Also this one: drivers/gpu/drm/zte/zx_plane.c:253 zx_vl_plane_atomic_update() warn: always true condition '(fmt >= 0) => (0-u32max >= 0)' regards, dan carpenter ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.fre

[bug report] drm: zte: add overlay plane support

2017-02-07 Thread Dan Carpenter
Hello Shawn Guo, The patch 4e986d3705df: "drm: zte: add overlay plane support" from Nov 16, 2016, leads to 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)' drivers/gpu/drm/zte/zx