diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-11-24 12:05:44 +0100 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2016-11-29 17:39:44 +0100 |
commit | 24c790fbf5d8f54c8c82979db11edea8855b74bf (patch) | |
tree | d58e5ebbc9a61f500f4b796035a6c18afd8f16d5 /drivers/iommu/iova.c | |
parent | iommu/iova: Extend cached node lookup condition (diff) | |
download | linux-24c790fbf5d8f54c8c82979db11edea8855b74bf.tar.xz linux-24c790fbf5d8f54c8c82979db11edea8855b74bf.zip |
iommu/amd: Missing error code in amd_iommu_init_device()
We should set "ret" to -EINVAL if iommu_group_get() fails.
Fixes: 55c99a4dc50f ("iommu/amd: Use iommu_attach_group()")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/iova.c')
0 files changed, 0 insertions, 0 deletions