iommu/iova: Don't try to copy anchor nodes
commitabbb8a09384f69f7bb05936879e51933c146afba
authorRobin Murphy <robin.murphy@arm.com>
Mon, 2 Oct 2017 10:53:31 +0000 (2 11:53 +0100)
committerJoerg Roedel <jroedel@suse.de>
Mon, 2 Oct 2017 13:45:24 +0000 (2 15:45 +0200)
tree87c6386f5fc66a308c55ccf8791ad4a2e5735106
parente8b198402745ed413ed8229b2eb45d34016eb5d8
iommu/iova: Don't try to copy anchor nodes

Anchor nodes are not reserved IOVAs in the way that copy_reserved_iova()
cares about - while the failure from reserve_iova() is benign since the
target domain will already have its own anchor, we still don't want to
be triggering spurious warnings.

Reported-by: kernel test robot <fengguang.wu@intel.com>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Fixes: bb68b2fbfbd6 ('iommu/iova: Add rbtree anchor node')
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/iova.c