OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10e10d3
)
drm/vmwgfx: Return -ENOENT when a mode object can't be found
author
Ville Syrjälä
<ville.syrjala@linux.intel.com>
Thu, 17 Oct 2013 10:35:05 +0000
(13:35 +0300)
committer
Dave Airlie
<airlied@redhat.com>
Wed, 6 Nov 2013 03:25:21 +0000
(13:25 +1000)
Let's be a bit more consistent with our error values.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
b/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
index
fc43c06
..
ecb3d86
100644
(file)
--- a/
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
+++ b/
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
@@
-1508,7
+1508,7
@@
int vmw_kms_cursor_bypass_ioctl(struct drm_device *dev, void *data,
obj = drm_mode_object_find(dev, arg->crtc_id, DRM_MODE_OBJECT_CRTC);
if (!obj) {
- ret = -E
INVAL
;
+ ret = -E
NOENT
;
goto out;
}