]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
soc: renesas: rmobile-sysc: Fix some leaks in rmobile_init_pm_domains()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 23 Sep 2020 11:31:42 +0000 (14:31 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Dec 2020 12:46:50 +0000 (13:46 +0100)
commit579f8b9015bd14a67f5b32245e1a30a479833d44
tree3e11cdeb9f77a4e58b1da2c175d1ce89ba45414b
parent5631c037547ff706fdcd67df51f8b1539eb1c976
soc: renesas: rmobile-sysc: Fix some leaks in rmobile_init_pm_domains()

[ Upstream commit cf25d802e029c31efac8bdc979236927f37183bd ]

This code needs to call iounmap() on one error path.

Fixes: 2173fc7cb681 ("ARM: shmobile: R-Mobile: Add DT support for PM domains")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20200923113142.GC1473821@mwanda
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/mach-shmobile/pm-rmobile.c