Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iommu/amd: Missing error code in amd_iommu_init_device()
We should set "ret" to -EINVAL if iommu_group_get() fails. Fixes: 55c99a4 ("iommu/amd: Use iommu_attach_group()") Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Joerg Roedel <[email protected]>
- Loading branch information