diff options
author | Wei Yang <richard.weiyang@gmail.com> | 2016-07-13 16:53:21 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2016-07-14 11:26:30 +0300 |
commit | 5c365d18a73d3979db37006eaacefc0008869c0f (patch) | |
tree | 2fdf5f635268375ad86b53c58d0266cdf4992d93 /drivers/infiniband/hw/hfi1/mad.h | |
parent | 452014d2b4824ed9ca32a3ef6ee745f22431132a (diff) | |
download | linux-5c365d18a73d3979db37006eaacefc0008869c0f.tar.xz |
iommu/vt-d: Return error code in domain_context_mapping_one()
In 'commit <55d940430ab9> ("iommu/vt-d: Get rid of domain->iommu_lock")',
the error handling path is changed a little, which makes the function
always return 0.
This path fixes this.
Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
Fixes: 55d940430ab9 ('iommu/vt-d: Get rid of domain->iommu_lock')
Cc: stable@vger.kernel.org # v4.3+
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/infiniband/hw/hfi1/mad.h')
0 files changed, 0 insertions, 0 deletions