diff options
author | 2019-08-24 09:47:12 +0800 | |
---|---|---|
committer | 2019-08-30 16:23:19 +0200 | |
commit | 6b0c54e7f2715997c366e8374209bc74259b0a59 (patch) | |
tree | 1fa43637a4d950d1f7ae6e66d878068ecbd8c169 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | iommu: Revisit iommu_insert_resv_region() implementation (diff) | |
download | wireguard-linux-6b0c54e7f2715997c366e8374209bc74259b0a59.tar.xz wireguard-linux-6b0c54e7f2715997c366e8374209bc74259b0a59.zip |
iommu/dma: Fix for dereferencing before null checking
The cookie is dereferenced before null checking in the function
iommu_dma_init_domain.
This patch moves the dereferencing after the null checking.
Fixes: fdbe574eb693 ("iommu/dma: Allow MSI-only cookies")
Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions