drm/vmwgfx: Fix an incorrect OOM return value
authorThomas Hellstrom <thellstrom@vmware.com>
Thu, 28 Aug 2014 09:35:25 +0000 (11:35 +0200)
committerThomas Hellstrom <thellstrom@vmware.com>
Mon, 1 Sep 2014 10:29:18 +0000 (12:29 +0200)
At the same time, make error paths return early for clarity.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: jakob Bornecrantz <jakob@vmware.com>
Cc: <stable@vger.kernel.org>

No differences found