[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for dma-buf-map: Rename to iosys-map
Patchwork
patchwork at emeril.freedesktop.org
Wed Feb 2 10:33:36 UTC 2022
== Series Details ==
Series: dma-buf-map: Rename to iosys-map
URL : https://patchwork.freedesktop.org/series/99612/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip
b6a44abcc53f dma-buf-map: Rename to iosys-map
-:194: WARNING:AVOID_BUG: Avoid crashing the kernel - try using WARN_ON & recovery code rather than BUG() or BUG_ON()
#194: FILE: drivers/dma-buf/dma-buf.c:1279:
+ BUG_ON(iosys_map_is_null(&dmabuf->vmap_ptr));
-:200: WARNING:AVOID_BUG: Avoid crashing the kernel - try using WARN_ON & recovery code rather than BUG() or BUG_ON()
#200: FILE: drivers/dma-buf/dma-buf.c:1284:
+ BUG_ON(iosys_map_is_set(&dmabuf->vmap_ptr));
-:215: WARNING:AVOID_BUG: Avoid crashing the kernel - try using WARN_ON & recovery code rather than BUG() or BUG_ON()
#215: FILE: drivers/dma-buf/dma-buf.c:1311:
+ BUG_ON(iosys_map_is_null(&dmabuf->vmap_ptr));
-:218: WARNING:AVOID_BUG: Avoid crashing the kernel - try using WARN_ON & recovery code rather than BUG() or BUG_ON()
#218: FILE: drivers/dma-buf/dma-buf.c:1313:
+ BUG_ON(!iosys_map_is_equal(&dmabuf->vmap_ptr, map));
-:1582: WARNING:OBSOLETE: drivers/gpu/drm/tiny/cirrus.c is marked as 'obsolete' in the MAINTAINERS hierarchy. No unnecessary modifications please.
-:1585: WARNING:OBSOLETE: drivers/gpu/drm/tiny/cirrus.c is marked as 'obsolete' in the MAINTAINERS hierarchy. No unnecessary modifications please.
-:1785: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#1785: FILE: drivers/gpu/drm/ttm/ttm_resource.c:381:
+ iosys_map_set_vaddr_iomem(&iter_io->dmap,
ioremap_wc(mem->bus.offset,
-:1790: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#1790: FILE: drivers/gpu/drm/ttm/ttm_resource.c:385:
+ iosys_map_set_vaddr(&iter_io->dmap,
memremap(mem->bus.offset, bus_size,
-:1800: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#1800: FILE: drivers/gpu/drm/ttm/ttm_resource.c:393:
+ iosys_map_set_vaddr_iomem(&iter_io->dmap,
ioremap(mem->bus.offset,
-:1834: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#1834: FILE: drivers/gpu/drm/ttm/ttm_tt.c:416:
+ iosys_map_set_vaddr(dmap, kmap_local_page_prot(iter_tt->tt->pages[i],
iter_tt->prot));
-:2546: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#2546:
deleted file mode 100644
total: 0 errors, 7 warnings, 4 checks, 2275 lines checked
More information about the Intel-gfx
mailing list