✗ Fi.CI.CHECKPATCH: warning for drm/i915/selftests: Fix live_requests for all engines

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



== 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





[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux