== Series Details == Series: Convert the intel iommu driver to the dma-iommu api (rev2) URL : https://patchwork.freedesktop.org/series/71260/ State : warning == Summary == $ dim checkpatch origin/drm-tip fd87dbc34e1f iommu: Handle freelists when using deferred flushing in iommu drivers 97922dbedb56 iommu: Add iommu_dma_free_cpu_cached_iovas() -:21: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #21: FILE: drivers/iommu/dma-iommu.c:54: +void iommu_dma_free_cpu_cached_iovas(unsigned int cpu, + struct iommu_domain *domain) -:41: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #41: FILE: include/linux/dma-iommu.h:41: +void iommu_dma_free_cpu_cached_iovas(unsigned int cpu, + struct iommu_domain *domain); -:51: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #51: FILE: include/linux/dma-iommu.h:85: +static inline void iommu_dma_free_cpu_cached_iovas(unsigned int cpu, + struct iommu_domain *domain) total: 0 errors, 0 warnings, 3 checks, 34 lines checked ad5dd468bfc2 iommu: Allow the dma-iommu api to use bounce buffers -:34: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #34: FILE: drivers/iommu/dma-iommu.c:504: +static void __iommu_dma_unmap_swiotlb(struct device *dev, dma_addr_t dma_addr, + size_t size, enum dma_data_direction dir, -:50: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #50: FILE: drivers/iommu/dma-iommu.c:520: + swiotlb_tbl_unmap_single(dev, phys, size, + iova_align(iovad, size), dir, attrs); -:66: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #66: FILE: drivers/iommu/dma-iommu.c:554: +static dma_addr_t __iommu_dma_map_swiotlb(struct device *dev, phys_addr_t phys, + size_t org_size, dma_addr_t dma_mask, bool coherent, -:86: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #86: FILE: drivers/iommu/dma-iommu.c:574: + phys = swiotlb_tbl_map_single(dev, + __phys_to_dma(dev, io_tlb_start), -:107: CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'iova == DMA_MAPPING_ERROR' #107: FILE: drivers/iommu/dma-iommu.c:595: + if ((iova == DMA_MAPPING_ERROR) && is_swiotlb_buffer(phys)) -:109: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #109: FILE: drivers/iommu/dma-iommu.c:597: + swiotlb_tbl_unmap_single(dev, phys, org_size, + aligned_size, dir, attrs); -:204: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #204: FILE: drivers/iommu/dma-iommu.c:853: + dma_handle = __iommu_dma_map_swiotlb(dev, phys, size, dma_get_mask(dev), + coherent, dir, attrs); -:222: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #222: FILE: drivers/iommu/dma-iommu.c:944: +static void iommu_dma_unmap_sg_swiotlb(struct device *dev, struct scatterlist *sg, + int nents, enum dma_data_direction dir, unsigned long attrs) -:229: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #229: FILE: drivers/iommu/dma-iommu.c:951: + __iommu_dma_unmap_swiotlb(dev, sg_dma_address(s), + sg_dma_len(s), dir, attrs); -:233: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #233: FILE: drivers/iommu/dma-iommu.c:955: +static int iommu_dma_map_sg_swiotlb(struct device *dev, struct scatterlist *sg, + int nents, enum dma_data_direction dir, unsigned long attrs) -:240: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #240: FILE: drivers/iommu/dma-iommu.c:962: + sg_dma_address(s) = __iommu_dma_map_swiotlb(dev, sg_phys(s), + s->length, dma_get_mask(dev), total: 0 errors, 0 warnings, 11 checks, 250 lines checked 0401236a9134 iommu: Add quirk for Intel graphic devices in map_sg ee870127e9f4 iommu/vt-d: Convert intel iommu driver to the iommu ops 618c6431795e iommu/vt-d: Cleanup after converting to dma-iommu ops -:96: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #96: FILE: drivers/iommu/intel/iommu.c:2253: + largepage_lvl = hardware_largepage_caps(domain, iov_pfn, + phys_pfn, nr_pages); total: 0 errors, 0 warnings, 1 checks, 186 lines checked _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx