Files
linux/arch
Qinglang Miao e581b66bbd powerpc: sysdev: add missing iounmap() on error in mpic_msgr_probe()
[ Upstream commit ffa1797040 ]

I noticed that iounmap() of msgr_block_addr before return from
mpic_msgr_probe() in the error handling case is missing. So use
devm_ioremap() instead of just ioremap() when remapping the message
register block, so the mapping will be automatically released on
probe failure.

Signed-off-by: Qinglang Miao <miaoqinglang@huawei.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201028091551.136400-1-miaoqinglang@huawei.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-16 10:00:32 +09:00
..
2018-05-19 14:06:17 +02:00
2023-05-16 09:45:35 +09:00
2018-02-17 14:52:07 +01:00
2016-10-19 08:39:47 -07:00
2023-05-16 09:58:10 +09:00
2023-05-16 10:00:04 +09:00