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

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

 



== Series Details ==

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

== Summary ==

Error: dim checkpatch failed
3342b504f81b drm/i915/selftests: Fix live_requests for all engines
-:213: 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
#213: FILE: drivers/gpu/drm/i915/selftests/i915_request.c:1234:
+		GEM_BUG_ON(request[idx]->context->vm != batch->vm);

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

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

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





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

  Powered by Linux