Commit ec565b0e authored by Arnd Bergmann's avatar Arnd Bergmann

Merge tag 'renesas-drivers-for-v5.11-tag1' of...

Merge tag 'renesas-drivers-for-v5.11-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel into arm/drivers

Renesas driver updates for v5.11

  - Fix a mapping leak in the failure path of the R-Mobile System
    Controller driver.

* tag 'renesas-drivers-for-v5.11-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel:
  soc: renesas: rmobile-sysc: Fix some leaks in rmobile_init_pm_domains()

Link: https://lore.kernel.org/r/20201113150854.3923885-4-geert+renesas@glider.beSigned-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parents 6bc9d739 cf25d802
...@@ -327,6 +327,7 @@ static int __init rmobile_init_pm_domains(void) ...@@ -327,6 +327,7 @@ static int __init rmobile_init_pm_domains(void)
pmd = of_get_child_by_name(np, "pm-domains"); pmd = of_get_child_by_name(np, "pm-domains");
if (!pmd) { if (!pmd) {
iounmap(base);
pr_warn("%pOF lacks pm-domains node\n", np); pr_warn("%pOF lacks pm-domains node\n", np);
continue; continue;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment