diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2016-09-22 10:29:23 +0300 |
---|---|---|
committer | Jyri Sarha <jsarha@ti.com> | 2016-09-23 13:49:52 +0300 |
commit | cf97ee19629363d5847a4af135cf415f76d7388c (patch) | |
tree | 85058ea5b73e03fd5450f8e653e0be91a830d9cb | |
parent | 34355ee0d5480f0f437db4d418bd6c494883f708 (diff) | |
download | linux-cf97ee19629363d5847a4af135cf415f76d7388c.tar.xz |
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>
-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 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); |