drm/vmwgfx: Fix host logging / guestinfo reading error paths
authorThomas Hellstrom <[email protected]>
Wed, 23 May 2018 14:13:20 +0000 (16:13 +0200)
committerThomas Hellstrom <[email protected]>
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: <[email protected]>
Signed-off-by: Thomas Hellstrom <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Sinclair Yeh <[email protected]>
drivers/gpu/drm/vmwgfx/vmwgfx_msg.c