Skip to content

Minor cleanups

Thierry Reding dri-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Mark functions printf-like where possibleintel/intel_decode.c tests/drmstat.c xf86drm.c +1 more+11 -100 replies
2/4intel: Fix some format stringsintel/intel_bufmgr_fake.c+10 -100 replies
3/4libdrm: Remove extraneous parameterxf86drm.c+1 -10 replies
4/4tests: Use drmFreeVersion() instead of drmFree()tests/getversion.c+1 -10 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchEric Anholt
SeriesR-b
1/4
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH libdrm 0/4] Minor cleanups

From: Thierry Reding <[email protected]>

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(-)
Signature · 1 line
1.9.1