commit | bf79cb914dbfe848add8bb76cbb8ff89110d29ff | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Wed Aug 04 14:19:46 2010 +0100 |
committer | Dave Airlie <airlied@redhat.com> | Tue Aug 10 10:46:55 2010 +1000 |
tree | 999c982fe33a39b5000fa16887bc439ff66d678f | |
parent | a44d2f37253cb7a8dc302e345d8909828b093e3c [diff] |
drm: Use ENOENT consistently for the error return for an unmatched handle. 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-off-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Dave Airlie <airlied@redhat.com>