tests/gem_reloc_overflow: Polish after Rafael's patch
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 7 Nov 2013 12:43:43 +0000 (13:43 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 7 Nov 2013 12:43:43 +0000 (13:43 +0100)
commit4cf1d089ebc83ca21abbc9714bcebecf8a759714
tree293aedba91b854582b1578cf917fd88317ee2c17
parentc537c23efc8173d6526236b6b311ac44c10a14af
tests/gem_reloc_overflow: Polish after Rafael's patch

- use void* for generic pointer.
- Fix const usage.
- Shut up gcc about uninitizialized var.
- Be paranoid about the moved tests and make double-sure that the
  batch would indeed work safe for the condition being tested.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
tests/gem_reloc_overflow.c