drm: Return -ENOENT when a framebuffer can't be found
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 17 Oct 2013 10:35:01 +0000 (13:35 +0300)
committerDave Airlie <airlied@redhat.com>
Wed, 6 Nov 2013 03:25:18 +0000 (13:25 +1000)
commit37c4e705fcc4ace41c95ab362440d771f8b24972
tree3081ca6d04d75b8756101b257ae9da96e35e8bf1
parentf27657f2ea7ffc07cc5bd19e7b9f937b4451bbc8
drm: Return -ENOENT when a framebuffer can't be found

Return -ENOENT for framebuffers like we do for other mode objects that
can't be found.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_crtc.c