[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/6] drm/ttm: rework on ttm_resource to use size_t type

Patchwork patchwork at emeril.freedesktop.org
Mon Oct 24 15:15:18 UTC 2022


== Series Details ==

Series: series starting with [1/6] drm/ttm: rework on ttm_resource to use size_t type
URL   : https://patchwork.freedesktop.org/series/110055/
State : warning

== Summary ==

Error: dim checkpatch failed
b400c116c652 drm/ttm: rework on ttm_resource to use size_t type
472c5abe2a6d drm/amd: fix’s on ttm_resource rework to use size_t type
-:57: 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
#57: FILE: drivers/gpu/drm/amd/amdgpu/amdgpu_res_cursor.h:65:
+	BUG_ON(start + size > res->size);

total: 0 errors, 1 warnings, 0 checks, 97 lines checked
81b511f1f701 drm/i915: fix’s on ttm_resource rework to use size_t type
-:59: 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
#59: FILE: drivers/gpu/drm/i915/i915_ttm_buddy_manager.c:65:
+	GEM_BUG_ON(!bman_res->base.size);

total: 0 errors, 1 warnings, 0 checks, 74 lines checked
a99d7b96e05d drm/nouveau: fix’s on ttm_resource rework to use size_t type
-:81: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#81: FILE: drivers/gpu/drm/nouveau/nouveau_bo74c1.c:48:
+	PUSH_NVSQ(push, NV74C1, 0x0304, new_reg->size,
 				0x0308, upper_32_bits(mem->vma[0].addr),

total: 0 errors, 0 warnings, 1 checks, 133 lines checked
eb5693378d6f drm/radeon: fix’s on ttm_resource rework to use size_t type
127e6c00c737 drm/vmwgfx: fix’s on ttm_resource rework to use size_t type




More information about the Intel-gfx mailing list