]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf90bcadad84010cec122d97104cad7e7283de820
treea442670280614a478e85a74834eb119dbf505fb5
parent9efc199507de9f66a79982fd2ee10099fb69f258
drm/vmwgfx: Fix an incorrect OOM return value

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>
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c