summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2016-09-22 09:29:23 +0200
committerJyri Sarha <jsarha@ti.com>2016-09-23 13:49:52 +0300
commitcf97ee19629363d5847a4af135cf415f76d7388c (patch)
tree85058ea5b73e03fd5450f8e653e0be91a830d9cb /drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c
parent34355ee0d5480f0f437db4d418bd6c494883f708 (diff)
downloadblackbird-op-linux-cf97ee19629363d5847a4af135cf415f76d7388c.tar.gz
blackbird-op-linux-cf97ee19629363d5847a4af135cf415f76d7388c.zip
drm/tilcdc: Return directly after a failed kfree_table_init() in tilcdc_convert_slave_node()
Return directly after a memory allocation failed in this function at the beginning. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Jyri Sarha <jsarha@ti.com>
Diffstat (limited to 'drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c')
-rw-r--r--drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c b/drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c
index dd8de260c362..623a9140493c 100644
--- a/drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c
+++ b/drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c
@@ -207,7 +207,7 @@ static void __init tilcdc_convert_slave_node(void)
int ret;
if (kfree_table_init(&kft))
- goto out;
+ return;
lcdc = of_find_matching_node(NULL, tilcdc_of_match);
slave = of_find_matching_node(NULL, tilcdc_slave_of_match);
OpenPOWER on IntegriCloud