From: Chris Wilson Date: Wed, 4 Aug 2010 13:19:46 +0000 (+0100) Subject: drm: Use ENOENT consistently for the error return for an unmatched handle. X-Git-Tag: v2.6.36-rc1~71^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf79cb914dbfe848add8bb76cbb8ff89110d29ff;p=pandora-kernel.git 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 Signed-off-by: Dave Airlie --- Reading git-diff-tree failed