[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Restricted DMA (rev3)

Patchwork patchwork at emeril.freedesktop.org
Tue May 18 06:53:14 UTC 2021


== Series Details ==

Series: Restricted DMA (rev3)
URL   : https://patchwork.freedesktop.org/series/89341/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
4970ae013adb swiotlb: Refactor swiotlb init functions
e6b601b9629d swiotlb: Refactor swiotlb_create_debugfs
e86662fadedf swiotlb: Add DMA_RESTRICTED_POOL
fde662bbf776 swiotlb: Add restricted DMA pool initialization
4d855565f52f swiotlb: Add a new get_io_tlb_mem getter
0e604cae8fe2 swiotlb: Update is_swiotlb_buffer to add a struct device argument
3bf813727fea swiotlb: Update is_swiotlb_active to add a struct device argument
-:98: CHECK:COMPARISON_TO_NULL: Comparison to NULL could be written "get_io_tlb_mem"
#98: FILE: kernel/dma/swiotlb.c:667:
+	return get_io_tlb_mem(dev) != NULL;

total: 0 errors, 0 warnings, 1 checks, 59 lines checked
bc49eee520f6 swiotlb: Bounce data from/to restricted DMA pool if available
-:45: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations
#45: FILE: include/linux/swiotlb.h:143:
 }
+static inline bool is_dev_swiotlb_force(struct device *dev)

total: 0 errors, 0 warnings, 1 checks, 75 lines checked
68eb3a4c3085 swiotlb: Move alloc_size to find_slots
aec185368af0 swiotlb: Refactor swiotlb_tbl_unmap_single
5c880be08fa6 dma-direct: Add a new wrapper __dma_direct_free_pages()
454814aa7406 swiotlb: Add restricted DMA alloc/free support.
162bfd59d8cd dma-direct: Allocate memory from restricted DMA pool if available
38df8d208cac dt-bindings: of: Add restricted DMA pool
e79ad0f25fff of: Add plumbing for restricted DMA pool
-:44: CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#44: FILE: drivers/of/address.c:1133:
+			return of_reserved_mem_device_init_by_idx(

-:83: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations
#83: FILE: drivers/of/of_private.h:173:
 }
+static inline int of_dma_set_restricted_buffer(struct device *dev)

total: 0 errors, 0 warnings, 2 checks, 63 lines checked




More information about the Intel-gfx mailing list