commit | 4781bc427b0d23bfde4675d210fd35debee2c9de | [log] [tgz] |
---|---|---|
author | Jérôme Glisse <jglisse@redhat.com> | Mon Aug 31 18:13:03 2015 -0400 |
committer | Joerg Roedel <jroedel@suse.de> | Thu Sep 24 16:50:01 2015 +0200 |
tree | da171fb0a4e74709fc4da5f76a38d7c0424879bf | |
parent | 1f93e4a96c9109378204c147b3eec0d0e8100fde [diff] |
iommu/amd: Return positive value in amd_iommu_detect() Fix amd_iommu_detect() to return positive value on success, like intended, and not zero. This will not change anything in the end as AMD IOMMU disable swiotlb and properly associate itself with devices even if detect() doesn't return a positive value. Signed-off-by: Jérôme Glisse <jglisse@redhat.com> Cc: Joerg Roedel <jroedel@suse.de> Cc: iommu@lists.linux-foundation.org