Re: [Intel-gfx] [PATCH] drm: Use ENOENT consistently for the error return for an unmatched handle.

2010-08-05 Thread Chris Wilson
On Thu, 05 Aug 2010 08:46:31 +1000, Dave Airlie wrote: > Have you verified no userspace relies on this return value? since this > technically an ABI change. > > >From what I can see probably only libdrm tests care. I haven't found any other instances of code checking return values, more often th

[Intel-gfx] [PATCH] drm: Use ENOENT consistently for the error return for an unmatched handle.

2010-08-04 Thread Chris Wilson
This is consistent with trying to access a filename that not exist within a directory which is a good analogy here. The main reason for the change is that it is easy to confuse the error code of EBADF as an performing an ioctl on an invalid file descriptor (rather than an unknown object). Signed-o