[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/5] drm/i915: audit bo->resource usage v3

Patchwork patchwork at emeril.freedesktop.org
Tue Jan 24 19:28:52 UTC 2023


== Series Details ==

Series: series starting with [1/5] drm/i915: audit bo->resource usage v3
URL   : https://patchwork.freedesktop.org/series/113269/
State : warning

== Summary ==

Error: dim checkpatch failed
642649a2508b drm/i915: audit bo->resource usage v3
-:37: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#37: FILE: drivers/gpu/drm/i915/gem/i915_gem_ttm.c:291:
+	if (obj->flags & I915_BO_ALLOC_CPU_CLEAR && (!bo->resource ||
+	    ttm_manager_type(bo->bdev, bo->resource->mem_type)->use_tt))

-:58: 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
#58: FILE: drivers/gpu/drm/i915/gem/i915_gem_ttm.c:1071:
+		GEM_BUG_ON(!bo->ttm || !(bo->ttm->page_flags & TTM_TT_FLAG_SWAPPED));

-:161: WARNING:FROM_SIGN_OFF_MISMATCH: From:/Signed-off-by: email address mismatch: 'From: "Christian König" <ckoenig.leichtzumerken at gmail.com>' != 'Signed-off-by: Christian König <christian.koenig at amd.com>'

total: 0 errors, 2 warnings, 1 checks, 130 lines checked
acf0f8e5167e drm/ttm: stop allocating dummy resources during BO creation
-:39: WARNING:FROM_SIGN_OFF_MISMATCH: From:/Signed-off-by: email address mismatch: 'From: "Christian König" <ckoenig.leichtzumerken at gmail.com>' != 'Signed-off-by: Christian König <christian.koenig at amd.com>'

total: 0 errors, 1 warnings, 0 checks, 19 lines checked
32a3f7a57c9b drm/ttm: stop allocating a dummy resource for pipelined gutting
-:74: WARNING:FROM_SIGN_OFF_MISMATCH: From:/Signed-off-by: email address mismatch: 'From: "Christian König" <ckoenig.leichtzumerken at gmail.com>' != 'Signed-off-by: Christian König <christian.koenig at amd.com>'

total: 0 errors, 1 warnings, 0 checks, 52 lines checked
2bdd2852681b drm/ttm: prevent moving of pinned BOs
-:150: WARNING:FROM_SIGN_OFF_MISMATCH: From:/Signed-off-by: email address mismatch: 'From: "Christian König" <ckoenig.leichtzumerken at gmail.com>' != 'Signed-off-by: Christian König <christian.koenig at amd.com>'

total: 0 errors, 1 warnings, 0 checks, 101 lines checked
95283d0afa53 drm/ttm: replace busy placement with flags v2
-:276: WARNING:UNSPECIFIED_INT: Prefer 'unsigned int *' to bare use of 'unsigned *'
#276: FILE: drivers/gpu/drm/nouveau/nouveau_bo.c:385:
+	unsigned *n = &nvbo->placement.num_placement;

-:860: WARNING:FROM_SIGN_OFF_MISMATCH: From:/Signed-off-by: email address mismatch: 'From: "Christian König" <ckoenig.leichtzumerken at gmail.com>' != 'Signed-off-by: Christian König <christian.koenig at amd.com>'

total: 0 errors, 2 warnings, 0 checks, 732 lines checked




More information about the Intel-gfx mailing list