diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-05-30 08:37:48 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-05-30 08:40:43 +0100 |
commit | 2e1c11546a4aa69c1e774aaa653bb9d84552e133 (patch) | |
tree | 5829bf02d3ac9d43fca382f80d12b56e8ca06eb7 /tests/gem_reloc_overflow.c | |
parent | 1cb4f90946289457c3b92773f2ce96b0b03e4a22 (diff) |
gem_reg_read: Only check errno after a definite error
As upon success, errno is invalid and may give spurious false results.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=65157
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests/gem_reloc_overflow.c')
0 files changed, 0 insertions, 0 deletions