OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12313c2
)
drm/msm: Fix missing unlock on error in msm_fbdev_create()
author
Wei Yongjun
<yongjun_wei@trendmicro.com.cn>
Thu, 14 Aug 2014 01:01:40 +0000
(09:01 +0800)
committer
Rob Clark
<robdclark@gmail.com>
Tue, 26 Aug 2014 14:43:31 +0000
(10:43 -0400)
Add the missing unlock before return from function msm_fbdev_create()
in the error handling case.
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/msm_fbdev.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/msm/msm_fbdev.c
b/drivers/gpu/drm/msm/msm_fbdev.c
index
9c5221c
..
ab5bfd2
100644
(file)
--- a/
drivers/gpu/drm/msm/msm_fbdev.c
+++ b/
drivers/gpu/drm/msm/msm_fbdev.c
@@
-143,7
+143,7
@@
static int msm_fbdev_create(struct drm_fb_helper *helper,
ret = msm_gem_get_iova_locked(fbdev->bo, 0, &paddr);
if (ret) {
dev_err(dev->dev, "failed to get buffer obj iova: %d\n", ret);
- goto fail;
+ goto fail
_unlock
;
}
fbi = framebuffer_alloc(0, dev->dev);