mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-11-20 05:36:15 +00:00
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>
This commit is contained in:
parent
34355ee0d5
commit
cf97ee1962
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue