]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drm/vmwgfx: fix error return code in vmw_driver_load()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 26 Aug 2013 07:15:37 +0000 (15:15 +0800)
committerDave Airlie <airlied@gmail.com>
Thu, 29 Aug 2013 22:57:51 +0000 (08:57 +1000)
commit14bbf20c8839eb595753712e15b8786f9cdc5ed8
tree08545e74aa131c7e6522aacbe1e78eb13a352cd7
parent1793126fcebd7c18834f95d43b55e387a8803aa8
drm/vmwgfx: fix error return code in vmw_driver_load()

Fix to return -ENOMEM in the fence manager init error handling
case instead of 0, as done elsewhere in this function.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Dmitry Torokhov <dtor@vmware.com>
Signed-off-by: Dave Airlie <airlied@gmail.com>
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c