]> git.karo-electronics.de Git - linux-beck.git/commit
drm: Fix error handling in drm_master_create
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sat, 5 Apr 2014 09:12:04 +0000 (11:12 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 22 Apr 2014 13:39:42 +0000 (15:39 +0200)
commit10e6856983c21b76d03282b6da86709bdc23eb77
tree4f98c7f11c36938a5976036c4b58128f2e289b13
parent8268bd48af9aae5e079d3ba8403ae459ff06cbcb
drm: Fix error handling in drm_master_create

We need to check whether drm_ht_create succeed and clean up
if not.

Spotted by coverity.

Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_stub.c