[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/selftests: Fix live_requests for all engines

Patchwork patchwork at emeril.freedesktop.org
Mon Feb 27 05:24:45 UTC 2023


== Series Details ==

Series: drm/i915/selftests: Fix live_requests for all engines
URL   : https://patchwork.freedesktop.org/series/114393/
State : warning

== Summary ==

Error: dim checkpatch failed
323deaeadb3e drm/i915/selftests: Fix live_requests for all engines
-:198: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#198: FILE: drivers/gpu/drm/i915/selftests/i915_request.c:1222:
+			pr_err("%s: Unable to create batch, err=%d\n",
+					__func__, err);

-:211: 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
#211: FILE: drivers/gpu/drm/i915/selftests/i915_request.c:1234:
+		GEM_BUG_ON(request[idx]->context->vm != batch->vm);

-:251: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#251: FILE: drivers/gpu/drm/i915/selftests/i915_request.c:1268:
+			pr_err("%s: failed to resolve batch, err=%d\n",
+					__func__, err);

-:273: 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
#273: FILE: drivers/gpu/drm/i915/selftests/i915_request.c:1288:
+		GEM_BUG_ON(!i915_request_completed(rq));

-:316: 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
#316: FILE: drivers/gpu/drm/i915/selftests/i915_request.c:1364:
+		GEM_BUG_ON(request[idx]->context->vm != batch->vm);

total: 0 errors, 3 warnings, 2 checks, 293 lines checked




More information about the Intel-gfx mailing list