[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [v13,1/5] drm: improve drm_buddy_alloc function
Patchwork
patchwork at emeril.freedesktop.org
Mon Feb 21 19:41:51 UTC 2022
== Series Details ==
Series: series starting with [v13,1/5] drm: improve drm_buddy_alloc function
URL : https://patchwork.freedesktop.org/series/100509/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip
1ae185a2649e drm: improve drm_buddy_alloc function
-:372: WARNING:AVOID_BUG: Avoid crashing the kernel - try using WARN_ON & recovery code rather than BUG() or BUG_ON()
#372: FILE: drivers/gpu/drm/drm_buddy.c:562:
+ BUG_ON(order > mm->max_order);
-:373: WARNING:AVOID_BUG: Avoid crashing the kernel - try using WARN_ON & recovery code rather than BUG() or BUG_ON()
#373: FILE: drivers/gpu/drm/drm_buddy.c:563:
+ BUG_ON(order < min_order);
total: 0 errors, 2 warnings, 0 checks, 483 lines checked
cf3ca8204216 drm: implement top-down allocation method
520affca2185 drm: implement a method to free unused pages
c101b2692614 drm/amdgpu: move vram inline functions into a header
-:12: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#12:
new file mode 100644
total: 0 errors, 1 warnings, 0 checks, 51 lines checked
824dc64040ae drm/amdgpu: add drm buddy support to amdgpu
-:67: CHECK:PREFER_KERNEL_TYPES: Prefer kernel type 'u32' over 'uint32_t'
#67: FILE: drivers/gpu/drm/amd/amdgpu/amdgpu_res_cursor.h:41:
+ uint32_t mem_type;
-:426: CHECK:BRACES: Unbalanced braces around else statement
#426: FILE: drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c:383:
+ else {
-:459: WARNING:AVOID_BUG: Avoid crashing the kernel - try using WARN_ON & recovery code rather than BUG() or BUG_ON()
#459: FILE: drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c:416:
+ BUG_ON(min_page_size < mm->chunk_size);
total: 0 errors, 1 warnings, 2 checks, 594 lines checked
More information about the Intel-gfx
mailing list