== Series Details == Series: dma-buf: Flag vmap'ed memory as system or I/O memory (rev3) URL : https://patchwork.freedesktop.org/series/81647/ State : warning == Summary == $ dim checkpatch origin/drm-tip c94eaf86e18e dma-buf: Add struct dma-buf-map for storing struct dma_buf.vaddr_ptr -:47: WARNING:AVOID_BUG: Avoid crashing the kernel - try using WARN_ON & recovery code rather than BUG() or BUG_ON() #47: FILE: drivers/dma-buf/dma-buf.c:1212: + BUG_ON(dma_buf_map_is_null(&dmabuf->vmap_ptr)); -:53: WARNING:AVOID_BUG: Avoid crashing the kernel - try using WARN_ON & recovery code rather than BUG() or BUG_ON() #53: FILE: drivers/dma-buf/dma-buf.c:1217: + BUG_ON(dma_buf_map_is_set(&dmabuf->vmap_ptr)); -:71: WARNING:AVOID_BUG: Avoid crashing the kernel - try using WARN_ON & recovery code rather than BUG() or BUG_ON() #71: FILE: drivers/dma-buf/dma-buf.c:1244: + BUG_ON(dma_buf_map_is_null(&dmabuf->vmap_ptr)); -:74: WARNING:AVOID_BUG: Avoid crashing the kernel - try using WARN_ON & recovery code rather than BUG() or BUG_ON() #74: FILE: drivers/dma-buf/dma-buf.c:1246: + BUG_ON(!dma_buf_map_is_vaddr(&dmabuf->vmap_ptr, vaddr)); -:86: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #86: new file mode 100644 total: 0 errors, 5 warnings, 0 checks, 138 lines checked 55973e093508 dma-buf: Use struct dma_buf_map in dma_buf_vmap() interfaces c929afc2d68f dma-buf: Use struct dma_buf_map in dma_buf_vunmap() interfaces -:48: WARNING:AVOID_BUG: Avoid crashing the kernel - try using WARN_ON & recovery code rather than BUG() or BUG_ON() #48: FILE: drivers/dma-buf/dma-buf.c:1250: + BUG_ON(!dma_buf_map_is_equal(&dmabuf->vmap_ptr, map)); total: 0 errors, 1 warnings, 0 checks, 287 lines checked 993652ae5805 dma-buf: Document struct dma_buf_map _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx