Skip to content
Commit 4781bc42 authored by Jérôme Glisse's avatar Jérôme Glisse Committed by Joerg Roedel
Browse files

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: default avatarJérôme Glisse <jglisse@redhat.com>
Cc: Joerg Roedel <jroedel@suse.de>
Cc: iommu@lists.linux-foundation.org
parent 1f93e4a9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment