From: Paulo Zanoni <paulo.r.zan...@intel.com> getstats.c:48:2: warning: comparison of unsigned expression >= 0 is always true
Signed-off-by: Paulo Zanoni <paulo.r.zan...@intel.com> --- tests/getstats.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) This patch can be applied to both intel-gpu-tools and mesa/drm. Whoever apply this to intel-gpu-tools, please apply to mesa/drm too. diff --git a/tests/getstats.c b/tests/getstats.c index 8d40d0b..8a7d299 100644 --- a/tests/getstats.c +++ b/tests/getstats.c @@ -45,8 +45,6 @@ int main(int argc, char **argv) ret = ioctl(fd, DRM_IOCTL_GET_STATS, &stats); assert(ret == 0); - assert(stats.count >= 0); - close(fd); return 0; } -- 1.7.4.1 _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx