linux/arch/powerpc
Qinglang Miao f2dc273475 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>
2021-01-06 14:45:01 +01:00
..
boot powerpc/boot: Fix CONFIG_PPC_MPC52XX references 2020-08-19 08:15:00 +02:00
configs vgacon: remove software scrollback support 2020-09-17 13:45:29 +02:00
crypto
include powerpc/bitops: Fix possible undefined behaviour with fls() and fls64() 2021-01-06 14:44:59 +01:00
kernel powerpc/rtas: Fix typo of ibm,open-errinjct in RTAS filter 2020-12-30 11:26:12 +01:00
kvm KVM: PPC: Book3S HV: Treat TM-related invalid form instructions on P9 like the valid ones 2020-10-01 13:14:38 +02:00
lib powerpc/64s: flush L1D after user accesses 2020-11-22 10:02:26 +01:00
math-emu
mm powerpc/64s/radix: Fix mm_cpumask trimming race vs kthread_use_mm 2020-10-30 10:38:19 +01:00
net
oprofile
perf powerpc/perf: Exclude kernel samples while counting events in user space. 2020-12-30 11:26:10 +01:00
platforms powerpc/powernv/memtrace: Fix crashing the kernel when enabling concurrently 2020-12-30 11:26:12 +01:00
purgatory
sysdev powerpc: sysdev: add missing iounmap() on error in mpic_msgr_probe() 2021-01-06 14:45:01 +01:00
tools
xmon powerpc/xmon: Change printk() to pr_cont() 2020-12-30 11:26:12 +01:00
Kconfig powerpc/rtas: Restrict RTAS requests from userspace 2020-11-05 11:08:51 +01:00
Kconfig.debug
Makefile powerpc: Drop -me200 addition to build flags 2020-12-30 11:25:38 +01:00
Makefile.postlink