diff options
author | 2017-12-20 09:48:36 -0700 | |
---|---|---|
committer | 2017-12-20 09:48:36 -0700 | |
commit | 9ae9df035c274c89b7fe3dbc74cbe2fa63386668 (patch) | |
tree | 605af1864dcdf4a50d3f0902c82365a744d27f11 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 4.15-rc4 (diff) | |
download | linux-dev-9ae9df035c274c89b7fe3dbc74cbe2fa63386668.tar.xz linux-dev-9ae9df035c274c89b7fe3dbc74cbe2fa63386668.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions