Chris Wilson 2e1c11546a 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>
2013-05-30 08:40:43 +01:00
..
2012-04-10 16:23:18 +02:00
2012-04-10 16:23:18 +02:00
2012-04-04 11:13:06 +02:00
2012-01-11 14:47:09 +01:00
2013-04-27 11:57:30 -07:00
2012-10-09 22:47:59 +02:00
2012-08-15 10:26:48 +02:00
2013-01-07 12:32:56 +00:00
2012-01-10 18:30:39 +01:00
2012-01-10 15:50:20 +01:00
2013-04-09 20:21:13 +02:00
2009-03-26 18:47:42 -07:00
2011-09-15 19:39:44 +02:00
2012-01-15 16:05:43 +01:00
2012-10-09 19:29:02 +02:00