iommu/vt-d: Use memunmap to free memremap
authorPan Bian <bianpan2016@163.com>
Wed, 21 Nov 2018 09:53:47 +0000 (17:53 +0800)
committerJoerg Roedel <jroedel@suse.de>
Thu, 22 Nov 2018 16:02:21 +0000 (17:02 +0100)
commit829383e183728dec7ed9150b949cd6de64127809
tree3bfcd7b3832449e9c15588987664a642d961ad58
parentab99be4683d9db33b100497d463274ebd23bd67e
iommu/vt-d: Use memunmap to free memremap

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>
drivers/iommu/intel-iommu.c