projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2dde9ad
)
drm/rockchip: rga: fix 'ret' may be used uninitialized in probe time
author
Yakir Yang
<ykk@rock-chips.com>
Tue, 10 May 2016 08:10:47 +0000
(16:10 +0800)
committer
Yakir Yang
<ykk@rock-chips.com>
Tue, 10 May 2016 08:10:47 +0000
(16:10 +0800)
Change-Id: I3eeb2abf2b5f098d3c2298673eeecd130ad99cb7
Signed-off-by: Yakir Yang <ykk@rock-chips.com>
drivers/gpu/drm/rockchip/rockchip_drm_rga.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/rockchip/rockchip_drm_rga.c
b/drivers/gpu/drm/rockchip/rockchip_drm_rga.c
index 7df0fd38f248ac9d947c2032c2aeddf49c141567..19045b14431d7db8683d5ba122d56e58be3cd39a 100644
(file)
--- a/
drivers/gpu/drm/rockchip/rockchip_drm_rga.c
+++ b/
drivers/gpu/drm/rockchip/rockchip_drm_rga.c
@@
-814,6
+814,7
@@
static int rga_probe(struct platform_device *pdev)
rga->rga_workq = create_singlethread_workqueue("rga");
if (!rga->rga_workq) {
dev_err(rga->dev, "failed to create workqueue\n");
+ ret = PTR_ERR(rga->rga_workq);
goto err_destroy_slab;
}