drm/i915: return -ENOENT if the context doesn't exist
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 19 Jun 2012 14:52:31 +0000 (16:52 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 20 Jun 2012 09:16:08 +0000 (11:16 +0200)
commit0d326013763bd4610cb72d9e2fa7f8ff2f414995
treeb98bcce93bf508a50424da1c74249c1845017539
parentdf12c6d5ec9b88fc45c672b77dac015327dd8497
drm/i915: return -ENOENT if the context doesn't exist

This is our customary "no such object" errno, not -EINVAL.

Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_context.c