commit | f0c62e9878024300319ba2438adc7b06c6b9c448 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Apr 27 12:12:08 2017 +0300 |
committer | Thomas Hellstrom <thellstrom@vmware.com> | Wed Jun 07 12:07:35 2017 +0200 |
tree | 088e34315269965222b35f7ac8e089f911948b2d | |
parent | bbd5fefeea59412af4b4a325c2743f53a1d6c417 [diff] |
drm/vmwgfx: Handle vmalloc() failure in vmw_local_fifo_reserve() If vmalloc() fails then we need to a bit of cleanup before returning. Cc: <stable@vger.kernel.org> Fixes: fb1d9738ca05 ("drm/vmwgfx: Add DRM driver for VMware Virtual GPU") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Sinclair Yeh <syeh@vmware.com>