]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
iommu/vt-d: Use memunmap to free memremap
authorPan Bian <bianpan2016@163.com>
Wed, 21 Nov 2018 09:53:47 +0000 (17:53 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Dec 2018 08:20:26 +0000 (09:20 +0100)
commit782d0b84cf2cd71be9e0da5630863096f52a1c88
treef3eeb1687e4bcdbdf2a7ecd32ee63057c2c31048
parent94d9befeaabe06ca6d352b8613905bd30f84b684
iommu/vt-d: Use memunmap to free memremap

[ Upstream commit 829383e183728dec7ed9150b949cd6de64127809 ]

memunmap() should be used to free the return of memremap(), not
iounmap().

Fixes: dfddb969edf0 ('iommu/vt-d: Switch from ioremap_cache to memremap')
Signed-off-by: Pan Bian <bianpan2016@163.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/iommu/intel-iommu.c