diff options
author | Jordan Crouse <jcrouse@codeaurora.org> | 2017-12-20 09:48:36 -0700 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2017-12-20 09:48:36 -0700 |
commit | 9ae9df035c274c89b7fe3dbc74cbe2fa63386668 (patch) | |
tree | 605af1864dcdf4a50d3f0902c82365a744d27f11 /drivers/bcma | |
parent | 1291a0d5049dbc06baaaf66a9ff3f53db493b19b (diff) |
iommu: Check the result of iommu_group_get() for NULL
The result of iommu_group_get() was being blindly used in both
attach and detach which results in a dereference when trying
to work with an unknown device.
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/bcma')
0 files changed, 0 insertions, 0 deletions