Skip to content
Snippets Groups Projects
Commit 3fda5c40 authored by Helge Deller's avatar Helge Deller Committed by 谢秀奇
Browse files

parisc: Fix vmap memory leak in ioremap()/iounmap()


commit 513f7f74 upstream.

Sven noticed that calling ioremap() and iounmap() multiple times leads
to a vmap memory leak:
	vmap allocation for size 4198400 failed:
	use vmalloc=<size> to increase size

It seems we missed calling vunmap() in iounmap().

Signed-off-by: default avatarHelge Deller <deller@gmx.de>
Noticed-by: default avatarSven Schnelle <svens@stackframe.org>
Cc: <stable@vger.kernel.org> # v3.16+
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 2c0b5aca
No related branches found
No related tags found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment