Re: iommu: Introduce iommu_request_dm_for_dev()

2015-06-11 Thread Joerg Roedel
Hi Dan, On Wed, Jun 10, 2015 at 02:02:44PM +0300, Dan Carpenter wrote: This is a semi-automatic email about new static checker warnings. The patch eeae3fba3afe: iommu: Introduce iommu_request_dm_for_dev() from May 28, 2015, leads to the following Smatch complaint: drivers/iommu/iommu.c

re: iommu: Introduce iommu_request_dm_for_dev()

2015-06-10 Thread Dan Carpenter
Hello Joerg Roedel, This is a semi-automatic email about new static checker warnings. The patch eeae3fba3afe: iommu: Introduce iommu_request_dm_for_dev() from May 28, 2015, leads to the following Smatch complaint: drivers/iommu/iommu.c:1581 iommu_request_dm_for_dev() error: we

[PATCH 13/22] iommu: Introduce iommu_request_dm_for_dev()

2015-05-28 Thread Joerg Roedel
From: Joerg Roedel jroe...@suse.de This function can be called by an IOMMU driver to request that a device's default domain is direct mapped. Signed-off-by: Joerg Roedel jroe...@suse.de --- drivers/iommu/iommu.c | 52 +++ include/linux/iommu.h |