-
由 Yunsheng Lin 提交于
The cookie is dereferenced before null checking in the function iommu_dma_init_domain. This patch moves the dereferencing after the null checking. Fixes: fdbe574e ("iommu/dma: Allow MSI-only cookies") Signed-off-by: NYunsheng Lin <linyunsheng@huawei.com> Signed-off-by: NJoerg Roedel <jroedel@suse.de>
6b0c54e7