[PATCH libdrm 0/4] Minor cleanups

Thierry Reding thierry.reding at gmail.com
Tue Apr 8 13:49:34 PDT 2014


From: Thierry Reding <treding at nvidia.com>

These four patches clean up some minor issues in libdrm. Patch 1 makes
gcc aware of various functions (such as drmMsg(), drm_debug_print(),
etc) being printf-like and patches 2 and 3 fix up a number of warnings
flagged as a result of that.

Patch 4 uses drmFreeVersion() instead of drmFree() to free a drmVersion
structure to prevent memory leaks.

Thierry

Thierry Reding (4):
  Mark functions printf-like where possible
  intel: Fix some format strings
  libdrm: Remove extraneous parameter
  tests: Use drmFreeVersion() instead of drmFree()

 intel/intel_bufmgr_fake.c | 20 ++++++++++----------
 intel/intel_decode.c      |  7 ++-----
 tests/drmstat.c           |  2 +-
 tests/getversion.c        |  2 +-
 xf86drm.c                 | 12 ++++++++----
 xf86drm.h                 |  2 +-
 6 files changed, 23 insertions(+), 22 deletions(-)

-- 
1.9.1



More information about the dri-devel mailing list