]> 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)
commit74ed67bec55f4c1f5575987449226c91319ce969
tree3bfcd7b3832449e9c15588987664a642d961ad58
parent9d04bdf78e9b9b36e422bf3cf94a429c7e5b12ea
iommu/vt-d: Use memunmap to free memremap

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

Fixes: 1a8e1983fbd0 ('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