drm: Make DRM_IOCTL_GET_CLIENT return EINVAL when it can't find client #idx.
authorEric Anholt <eric@anholt.net>
Thu, 22 Nov 2007 08:46:54 +0000 (18:46 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 7 Feb 2008 05:09:39 +0000 (15:09 +1000)
commitb018fcdaa5e8b4eabb8cffda687d00004a3c4785
tree63772cad6f990cd3b0fb81e3329fa7b625dfa656
parent3260f9fdfee9d5b4135f40943dc0bd0733b7394e
drm: Make DRM_IOCTL_GET_CLIENT return EINVAL when it can't find client #idx.

Fixes the getclient test and dritest -c.

Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/char/drm/drm_ioctl.c