[Intel-gfx] [PATCH 0/8] i-g-t: fix compile warnings

Imre Deak imre.deak at intel.com
Wed Oct 10 15:04:37 CEST 2012


These are harmless apart from ignoring eventual errors, but they
make it difficult to spot new errors/warnings in the build output.

Imre Deak (8):
  fix warn: 'div' shadows a global declaration
  fix warn in intel_error_decode: ignoring return value of 'asprintf'
  fix warn in intel_reg_snapshot: ignoring return value of 'write'
  fix warn in gem_readwrite: 'read/write' shadows a global declaration
  fix warn in sysfs_{rc6,rps}*: ignoring return value of 'fscanf'
  fix warn in gem_reg_read: 'read' shadows a global declaration
  fix warn in prime_nv_*: ignoring return value of ‘fgets’
  fix warn in testdisplay: ignoring return value of 'chdir'

 lib/drmtest.c                    |    6 +++---
 tests/gem_readwrite.c            |   28 ++++++++++++++--------------
 tests/gem_reg_read.c             |   18 +++++++++---------
 tests/gem_storedw_batches_loop.c |    6 +++---
 tests/gem_storedw_loop_blt.c     |    6 +++---
 tests/gem_storedw_loop_bsd.c     |    6 +++---
 tests/gem_storedw_loop_render.c  |    6 +++---
 tests/prime_nv_api.c             |    5 ++++-
 tests/prime_nv_test.c            |    5 ++++-
 tests/sysfs_rc6_residency.c      |    5 ++++-
 tests/sysfs_rps.c                |    6 +++++-
 tests/testdisplay.c              |    4 +++-
 tools/intel_error_decode.c       |   10 ++++++++--
 tools/intel_reg_snapshot.c       |    5 ++++-
 14 files changed, 70 insertions(+), 46 deletions(-)

-- 
1.7.9.5




More information about the Intel-gfx mailing list