✗ Fi.CI.CHECKPATCH: warning for convert i915_active.count from atomic_t to refcount_t

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

 



== Series Details ==

Series: convert i915_active.count from atomic_t to refcount_t
URL   : https://patchwork.freedesktop.org/series/112246/
State : warning

== Summary ==

Error: dim checkpatch failed
f3d75205bec5 drm/i915: convert i915_active.count from atomic_t to refcount_t
-:60: 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
#60: FILE: drivers/gpu/drm/i915/i915_active.c:182:
+	GEM_BUG_ON(!refcount_read(&ref->count));

-:71: 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
#71: FILE: drivers/gpu/drm/i915/i915_active.c:192:
+	GEM_BUG_ON(!refcount_read(&ref->count));

-:118: 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
#118: FILE: drivers/gpu/drm/i915/i915_active.c:762:
+	GEM_BUG_ON(refcount_read(&ref->count));

-:141: 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
#141: FILE: drivers/gpu/drm/i915/i915_active.h:196:
+	GEM_BUG_ON(!refcount_read(&ref->count));

total: 0 errors, 4 warnings, 0 checks, 127 lines checked
ae36a0e30e8d drm/i915/selftests: Convert atomic_* API calls for i915_active.count refcount_*





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

  Powered by Linux