diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2016-09-22 09:29:23 +0200 |
---|---|---|
committer | Jyri Sarha <jsarha@ti.com> | 2016-09-23 13:49:52 +0300 |
commit | cf97ee19629363d5847a4af135cf415f76d7388c (patch) | |
tree | 85058ea5b73e03fd5450f8e653e0be91a830d9cb /drivers/gpu/drm/tilcdc | |
parent | 34355ee0d5480f0f437db4d418bd6c494883f708 (diff) | |
download | op-kernel-dev-cf97ee19629363d5847a4af135cf415f76d7388c.zip op-kernel-dev-cf97ee19629363d5847a4af135cf415f76d7388c.tar.gz |
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')
-rw-r--r-- | drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c | 2 |
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 dd8de260..623a914 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); |