[PATCH libdrm 0/8] Warnings fixes

Jan Vesely jan.vesely at rutgers.edu
Fri Feb 27 10:07:20 PST 2015


His series fixes most of the warnings my compiler spits out running
make distcheck.
Most of the changes do not change behaviour and those the do are in separate
patches.
After this series I'm left with:
      1 -Wempty-body
      1 -Wformat
      1 -Wpointer-to-int-cast
      1 -Wsign-compare

Jan Vesely (8):
  Add static qualifier to local functions
  tests: String literals are const char *
  Fix type-limits, pointer-arith and sign-compare warnings
  xf86drmSL: Fix neighbour printing
  Fix aliasing and switch-enum warnings
  dristat: Handle DRM_CONSISTENT
  Fix unused, and unused-but-set variables warnings
  Fix unused function warnings

 tests/dristat.c                   |  5 +++--
 tests/drmstat.c                   | 15 +++++----------
 tests/exynos/exynos_fimg2d_test.c |  7 ++++---
 tests/getstats.c                  |  2 --
 tests/kmstest/main.c              |  4 ++--
 tests/modeprint/modeprint.c       | 19 ++++++++++---------
 tests/proptest/proptest.c         |  4 ++--
 tests/radeon/radeon_ttm.c         |  4 ++--
 tests/vbltest/vbltest.c           |  2 +-
 xf86drm.c                         | 17 ++++++++---------
 xf86drmMode.c                     |  4 ++--
 xf86drmSL.c                       |  7 +++++--
 12 files changed, 44 insertions(+), 46 deletions(-)

-- 
2.1.0



More information about the dri-devel mailing list