[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/amdgpu: add drm buddy support to amdgpu
Patchwork
patchwork at emeril.freedesktop.org
Tue Mar 1 23:05:26 UTC 2022
== Series Details ==
Series: drm/amdgpu: add drm buddy support to amdgpu
URL : https://patchwork.freedesktop.org/series/100908/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip
8e830a55eacb drm/amdgpu: add drm buddy support to amdgpu
-:76: CHECK:PREFER_KERNEL_TYPES: Prefer kernel type 'u32' over 'uint32_t'
#76: FILE: drivers/gpu/drm/amd/amdgpu/amdgpu_res_cursor.h:41:
+ uint32_t mem_type;
-:454: WARNING:AVOID_BUG: Avoid crashing the kernel - try using WARN_ON & recovery code rather than BUG() or BUG_ON()
#454: FILE: drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c:412:
+ BUG_ON(!node->base.num_pages);
-:497: WARNING:AVOID_BUG: Avoid crashing the kernel - try using WARN_ON & recovery code rather than BUG() or BUG_ON()
#497: FILE: drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c:436:
+ BUG_ON(min_page_size < mm->chunk_size);
-:676: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#676:
new file mode 100644
total: 0 errors, 3 warnings, 1 checks, 656 lines checked
More information about the Intel-gfx
mailing list