Skip to content
Commit 2c05afe4 authored by Helge Deller's avatar Helge Deller Committed by Paul Gortmaker
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 avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent c422c394
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment