From: Dan Carpenter Date: Thu, 27 Apr 2017 09:12:08 +0000 (+0300) Subject: drm/vmwgfx: Handle vmalloc() failure in vmw_local_fifo_reserve() X-Git-Tag: v3.2.93~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64bf98d1bb3522e2db0db9941e3a61cf5705b85f;p=pandora-kernel.git drm/vmwgfx: Handle vmalloc() failure in vmw_local_fifo_reserve() commit f0c62e9878024300319ba2438adc7b06c6b9c448 upstream. If vmalloc() fails then we need to a bit of cleanup before returning. Fixes: fb1d9738ca05 ("drm/vmwgfx: Add DRM driver for VMware Virtual GPU") Signed-off-by: Dan Carpenter Reviewed-by: Sinclair Yeh Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed