projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drm/vmwgfx: Fix recently introduced sparse / smatch warnings and errors
[linux-2.6-block.git]
/
drivers
/
gpu
/
drm
/
vmwgfx
/
vmwgfx_surface.c
diff --git
a/drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
b/drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
index 3bb3331acdaf9c6f875b1eaead138b3b0e3e142a..979da1c246a543a445257daee03787e794b266a1 100644
(file)
--- a/
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
+++ b/
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
@@
-1117,6
+1117,7
@@
static int vmw_gb_surface_destroy(struct vmw_resource *res)
if (unlikely(cmd == NULL)) {
DRM_ERROR("Failed reserving FIFO space for surface "
"destruction.\n");
+ mutex_unlock(&dev_priv->binding_mutex);
return -ENOMEM;
}