summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/iommu.c
diff options
context:
space:
mode:
authorYunsheng Lin <linyunsheng@huawei.com>2019-08-24 09:47:12 +0800
committerJoerg Roedel <jroedel@suse.de>2019-08-30 16:23:19 +0200
commit6b0c54e7f2715997c366e8374209bc74259b0a59 (patch)
tree1fa43637a4d950d1f7ae6e66d878068ecbd8c169 /drivers/iommu/iommu.c
parent4dbd258ff63e0597ee8fb44d277c6c701f5019d9 (diff)
downloadlinux-6b0c54e7f2715997c366e8374209bc74259b0a59.tar.bz2
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 'drivers/iommu/iommu.c')
0 files changed, 0 insertions, 0 deletions