summaryrefslogtreecommitdiff
path: root/tests/gem_wait.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-01-08 10:40:33 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2016-01-20 07:53:22 +0000
commit47b61378426002c0f71644c65c73477265a5751d (patch)
tree74a2c5e5d963f74a98d6d9c2e37ff1f64180b6cd /tests/gem_wait.c
parent6bada3e2d494e0823a31773e916c62bd36facbe7 (diff)
igt/gem_partial_pwrite_pread: Fix range computation
The range we chose to overwrite in the target had an off-by-one error that could cause it to compute a size that went past the end of the buffer (and so trigger EINVAL). Fortuituously with our seed this did not occur. Whilst changing the range calculation, update the error logging to include the range information. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests/gem_wait.c')
0 files changed, 0 insertions, 0 deletions