]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/vmwgfx: Fix host logging / guestinfo reading error paths
authorThomas Hellstrom <thellstrom@vmware.com>
Wed, 23 May 2018 14:13:20 +0000 (16:13 +0200)
committerThomas Hellstrom <thellstrom@vmware.com>
Wed, 23 May 2018 14:15:52 +0000 (16:15 +0200)
commitf37230c0ad481091bc136788ff8b37dc86300c6d
tree0cf34f548f74a0a8053463137a53c2397e41a7ea
parent938ae7259c908ad031da35d551da297640bb640c
drm/vmwgfx: Fix host logging / guestinfo reading error paths

The error paths were leaking opened channels.
Fix by using dedicated error paths.

Cc: <stable@vger.kernel.org>
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_msg.c