]> git.baikalelectronics.ru Git - kernel.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)
committerJoerg Roedel <jroedel@suse.de>
Thu, 22 Nov 2018 16:02:21 +0000 (17:02 +0100)
commit8263c7ceb6901e34c212a8e17263e864e00a2c76
tree3bfcd7b3832449e9c15588987664a642d961ad58
parent266d986a0853863a53881f189c29833eb4d5c967
iommu/vt-d: Use memunmap to free memremap

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

Fixes: 3d527aa20e16 ('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