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: NJordan Crouse <jcrouse@codeaurora.org> Signed-off-by: NAlex Williamson <alex.williamson@redhat.com>
Showing
想要评论请 注册 或 登录