diff options
author | Eric Anholt | 2014-11-15 00:12:47 -0600 |
---|---|---|
committer | srinivas pulukuru | 2015-01-30 16:04:01 -0600 |
commit | e4013228673a26ff7043972f6c5a053c02663b71 (patch) | |
tree | c1b1b0e8b918f0c4e9a5cb39f3a4a06f5f0cee9a /Makefile.am | |
parent | c9ca82b80acfa19ad63580ec6a153be4ffeec67b (diff) | |
download | libdrm-e4013228673a26ff7043972f6c5a053c02663b71.tar.gz libdrm-e4013228673a26ff7043972f6c5a053c02663b71.tar.xz libdrm-e4013228673a26ff7043972f6c5a053c02663b71.zip |
drm: Initialize or valgrind-clear modesetting ioctl arguments.
Fixes valgrind complaints in the modesetting driver. I tried to
follow each ioctl's pattern for whether it was initializing just the
in values, or both in and out values.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: srinivas pulukuru <srinivas.pulukuru@ti.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 320e5640..afef0bb2 100644 --- a/Makefile.am +++ b/Makefile.am | |||
@@ -57,6 +57,8 @@ libdrm_la_LDFLAGS = -version-number 2:4:0 -no-undefined | |||
57 | libdrm_la_LIBADD = @CLOCK_LIB@ | 57 | libdrm_la_LIBADD = @CLOCK_LIB@ |
58 | 58 | ||
59 | libdrm_la_CPPFLAGS = -I$(top_srcdir)/include/drm | 59 | libdrm_la_CPPFLAGS = -I$(top_srcdir)/include/drm |
60 | AM_CFLAGS = \ | ||
61 | $(VALGRIND_CFLAGS) | ||
60 | 62 | ||
61 | libdrm_la_SOURCES = \ | 63 | libdrm_la_SOURCES = \ |
62 | xf86drm.c \ | 64 | xf86drm.c \ |