[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm: Optimise for continuous memory allocation (rev3)

Patchwork patchwork at emeril.freedesktop.org
Thu Dec 1 19:24:16 UTC 2022


== Series Details ==

Series: drm: Optimise for continuous memory allocation (rev3)
URL   : https://patchwork.freedesktop.org/series/111542/
State : warning

== Summary ==

Error: dim checkpatch failed
0c97871616d7 drm: Optimise for continuous memory allocation
-:93: CHECK:MULTIPLE_ASSIGNMENTS: multiple assignments should be avoided
#93: FILE: drivers/gpu/drm/drm_buddy.c:420:
+		begin = end = free_block;

-:116: WARNING:AVOID_BUG: Do not crash the kernel unless it is absolutely unavoidable--use WARN_ON_ONCE() plus recovery code (if feasible) instead of BUG() or variants
#116: FILE: drivers/gpu/drm/drm_buddy.c:443:
+				BUG_ON(drm_buddy_block_offset(end) +

-:123: WARNING:AVOID_BUG: Do not crash the kernel unless it is absolutely unavoidable--use WARN_ON_ONCE() plus recovery code (if feasible) instead of BUG() or variants
#123: FILE: drivers/gpu/drm/drm_buddy.c:450:
+				BUG_ON(drm_buddy_block_offset(prev) +

-:131: WARNING:AVOID_BUG: Do not crash the kernel unless it is absolutely unavoidable--use WARN_ON_ONCE() plus recovery code (if feasible) instead of BUG() or variants
#131: FILE: drivers/gpu/drm/drm_buddy.c:458:
+			BUG_ON(pages < cur_pages);

total: 0 errors, 3 warnings, 1 checks, 168 lines checked




More information about the Intel-gfx mailing list