Skip to content

i-g-t: fix compile warnings

Imre Deak intel-gfx 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8fix warn: 'div' shadows a global declarationlib/drmtest.c tests/gem_storedw_batches_loop.c tests/gem_storedw_loop_blt.c +2 more+15 -150 replies
2/8fix warn in intel_error_decode: ignoring return value of 'asprintf'tools/intel_error_decode.c+8 -20 replies
3/8fix warn in intel_reg_snapshot: ignoring return value of 'write'tools/intel_reg_snapshot.c+4 -10 replies
4/8fix warn in gem_readwrite: 'read/write' shadows a global declarationtests/gem_readwrite.c+14 -140 replies
5/8fix warn in sysfs_{rc6, rps}*: ignoring return value of 'fscanf'tests/sysfs_rc6_residency.c tests/sysfs_rps.c+9 -20 replies
6/8fix warn in gem_reg_read: 'read' shadows a global declarationtests/gem_reg_read.c+9 -90 replies
7/8fix warn in prime_nv_*: ignoring return value of ‘fgets’tests/prime_nv_api.c tests/prime_nv_test.c+8 -20 replies
8/8fix warn in testdisplay: ignoring return value of 'chdir'tests/testdisplay.c+3 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/8] i-g-t: fix compile warnings

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(-)
Signature · 6 lines
1.7.9.5

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx