drm: Avoid oops in DRM_IOCTL_RM_DRAW if a bad handle is supplied.
authorEric Anholt <eric@anholt.net>
Tue, 21 Oct 2008 18:53:01 +0000 (11:53 -0700)
committerDave Airlie <airlied@redhat.com>
Thu, 23 Oct 2008 03:46:54 +0000 (13:46 +1000)
commit7e78f72524b794fa8d73dc59aeeacc12a2e937fe
treee04e6f5336d29ef58c75a829339e771210d904bc
parent49568873705e45a0de77b7824a9a46d3201019a7
drm: Avoid oops in DRM_IOCTL_RM_DRAW if a bad handle is supplied.

Signed-off-by: Eric Anholt <eric@anholt.net>
Acked-by: Michel Dänzer <michel@tungstengraphics.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_drawable.c