diff options
author | 2020-11-23 17:18:16 +0100 | |
---|---|---|
committer | 2020-11-23 17:18:17 +0100 | |
commit | ec565b0e1a9e9670052c29259b80bfb3c405427e (patch) | |
tree | bfeb623731de476732c07a478008f41ad3b08559 | |
parent | Merge tag 'optee-use-uuid-api-for-v5.10' of git://git.linaro.org:/people/jens.wiklander/linux-tee into arm/drivers (diff) | |
parent | soc: renesas: rmobile-sysc: Fix some leaks in rmobile_init_pm_domains() (diff) | |
download | wireguard-linux-ec565b0e1a9e9670052c29259b80bfb3c405427e.tar.xz wireguard-linux-ec565b0e1a9e9670052c29259b80bfb3c405427e.zip |
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.be
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
-rw-r--r-- | drivers/soc/renesas/rmobile-sysc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/soc/renesas/rmobile-sysc.c b/drivers/soc/renesas/rmobile-sysc.c index 54b616ad4a62..beb1c7211c3d 100644 --- a/drivers/soc/renesas/rmobile-sysc.c +++ b/drivers/soc/renesas/rmobile-sysc.c @@ -327,6 +327,7 @@ static int __init rmobile_init_pm_domains(void) pmd = of_get_child_by_name(np, "pm-domains"); if (!pmd) { + iounmap(base); pr_warn("%pOF lacks pm-domains node\n", np); continue; } |