Re: [PATCH] mips: cm: add missing iounmap() on error in mips_cm_probe()

From: Thomas Bogendoerfer
Date: Fri Nov 06 2020 - 05:54:09 EST


On Wed, Oct 28, 2020 at 05:15:46PM +0800, Qinglang Miao wrote:
> 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@xxxxxxxxxx>
> ---
> arch/mips/kernel/mips-cm.c | 1 +
> 1 file changed, 1 insertion(+)

applied to mips-next.

Thomas.

--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]