diff options
author | Thomas Hellstrom <thellstrom@vmware.com> | 2014-01-20 11:33:04 +0100 |
---|---|---|
committer | Thomas Hellstrom <thellstrom@vmware.com> | 2014-01-21 13:22:18 +0100 |
commit | 3e894a6259964618e29809b844bffaaf9849067b (patch) | |
tree | e7698f18611a0e57836d768632d3addcba6ce855 /drivers/gpu/drm/vmwgfx/vmwgfx_shader.c | |
parent | cfd72a4c2089aa3938f37281a34d6eb3306d5fd8 (diff) | |
download | talos-obmc-linux-3e894a6259964618e29809b844bffaaf9849067b.tar.gz talos-obmc-linux-3e894a6259964618e29809b844bffaaf9849067b.zip |
drm/vmwgfx: Fix recently introduced sparse / smatch warnings and errors
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrant <jakob@vmware.com>
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_shader.c')
-rw-r--r-- | drivers/gpu/drm/vmwgfx/vmwgfx_shader.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_shader.c b/drivers/gpu/drm/vmwgfx/vmwgfx_shader.c index 813bd0a2abaf..1457ec4b7125 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_shader.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_shader.c @@ -264,6 +264,7 @@ static int vmw_gb_shader_destroy(struct vmw_resource *res) if (unlikely(cmd == NULL)) { DRM_ERROR("Failed reserving FIFO space for shader " "destruction.\n"); + mutex_unlock(&dev_priv->binding_mutex); return -ENOMEM; } |