Re: [bug report] iommu/vt-d: Allocate/register iopf queue for sva devices

2021-06-18 Thread Lu Baolu
Thanks for letting me know this. We already have a fix in linux-next. commit 90141a0fb72340937ed9ec05301cc548901d8eec Author: Colin Ian King Date: Fri Jun 11 14:50:24 2021 +0100 iommu/vt-d: Fix dereference of pointer info before it is null checked The assignment of iommu from

[bug report] iommu/vt-d: Allocate/register iopf queue for sva devices

2021-06-18 Thread Dan Carpenter
Hello Lu Baolu, This is a semi-automatic email about new static checker warnings. The patch 4c82b88696ac: "iommu/vt-d: Allocate/register iopf queue for sva devices" from Jun 10, 2021, leads to the following Smatch complaint: drivers/iommu/intel/iommu.c:5335 intel_iommu_enable_sva()