[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Move all drivers to a common dma-buf locking convention

Patchwork patchwork at emeril.freedesktop.org
Mon Aug 29 17:54:58 UTC 2022


== Series Details ==

Series: Move all drivers to a common dma-buf locking convention
URL   : https://patchwork.freedesktop.org/series/107884/
State : warning

== Summary ==

Error: dim checkpatch failed
95c5249c37bb dma-buf: Add _unlocked postfix to function names
-:770: CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#770: FILE: drivers/infiniband/core/umem_dmabuf.c:153:
+	umem_dmabuf->attach = dma_buf_dynamic_attach_unlocked(

-:1101: WARNING:FUNCTION_ARGUMENTS: function definition argument 'struct dma_buf_attachment *' should also have an identifier name
#1101: FILE: include/linux/dma-buf.h:623:
+struct sg_table *dma_buf_map_attachment_unlocked(struct dma_buf_attachment *,

-:1103: WARNING:FUNCTION_ARGUMENTS: function definition argument 'struct dma_buf_attachment *' should also have an identifier name
#1103: FILE: include/linux/dma-buf.h:625:
+void dma_buf_unmap_attachment_unlocked(struct dma_buf_attachment *,

-:1103: WARNING:FUNCTION_ARGUMENTS: function definition argument 'struct sg_table *' should also have an identifier name
#1103: FILE: include/linux/dma-buf.h:625:
+void dma_buf_unmap_attachment_unlocked(struct dma_buf_attachment *,

-:1117: WARNING:FUNCTION_ARGUMENTS: function definition argument 'struct dma_buf *' should also have an identifier name
#1117: FILE: include/linux/dma-buf.h:635:
+int dma_buf_mmap_unlocked(struct dma_buf *, struct vm_area_struct *,

-:1117: WARNING:FUNCTION_ARGUMENTS: function definition argument 'struct vm_area_struct *' should also have an identifier name
#1117: FILE: include/linux/dma-buf.h:635:
+int dma_buf_mmap_unlocked(struct dma_buf *, struct vm_area_struct *,

-:1117: WARNING:FUNCTION_ARGUMENTS: function definition argument 'unsigned long' should also have an identifier name
#1117: FILE: include/linux/dma-buf.h:635:
+int dma_buf_mmap_unlocked(struct dma_buf *, struct vm_area_struct *,

total: 0 errors, 6 warnings, 1 checks, 930 lines checked
ef7c7ae61fc1 dma-buf: Add locked variant of dma_buf_vmap/vunmap()
45c3f7da798e drm/gem: Take reservation lock for vmap/vunmap operations
d3cf2e46efe0 dma-buf: Move dma_buf_vmap/vunmap_unlocked() to dynamic locking specification
10a7c6c7933c dma-buf: Move dma_buf_mmap_unlocked() to dynamic locking specification
bcf19d059221 dma-buf: Move dma-buf attachment to dynamic locking specification
-:387: WARNING:FUNCTION_ARGUMENTS: function definition argument 'struct dma_buf_attachment *' should also have an identifier name
#387: FILE: include/linux/dma-buf.h:629:
+struct sg_table *dma_buf_map_attachment(struct dma_buf_attachment *,

total: 0 errors, 1 warnings, 0 checks, 331 lines checked
d260753b3e2c dma-buf: Document dynamic locking convention
ed8551958b67 media: videobuf2: Stop using internal dma-buf lock
1738dcaeddcf dma-buf: Remove internal lock




More information about the Intel-gfx mailing list