]> git.baikalelectronics.ru Git - kernel.git/commit
mips: cm: add missing iounmap() on error in mips_cm_probe()
authorQinglang Miao <miaoqinglang@huawei.com>
Wed, 28 Oct 2020 09:15:46 +0000 (17:15 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Fri, 6 Nov 2020 10:33:11 +0000 (11:33 +0100)
commit51c4e67ad6cd6857335de36764fe89ccd4f72382
tree24f3b32a3e46855ec7bdc6829418f372142204fb
parent06ddb8c82e272cf001b0cd714f19258c0c4469a3
mips: cm: add missing iounmap() on error in mips_cm_probe()

Add the missing iounmap() of iounmap(mips_gcr_base) before
return from mips_cm_probe() in the error handling case.

Signed-off-by: Qinglang Miao <miaoqinglang@huawei.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/kernel/mips-cm.c