✗ Fi.CI.CHECKPATCH: warning for series starting with [1/2] drm/i915: add struct i915_dsm to wrap dsm members together

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

 



== Series Details ==

Series: series starting with [1/2] drm/i915: add struct i915_dsm to wrap dsm members together
URL   : https://patchwork.freedesktop.org/series/112898/
State : warning

== Summary ==

Error: dim checkpatch failed
05c75413d4b5 drm/i915: add struct i915_dsm to wrap dsm members together
-:21: 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
#21: FILE: drivers/gpu/drm/i915/display/intel_fbc.c:334:
+	GEM_BUG_ON(range_overflows_end_t(u64, i915->dsm.stolen.start,

-:24: 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
#24: FILE: drivers/gpu/drm/i915/display/intel_fbc.c:336:
+	GEM_BUG_ON(range_overflows_end_t(u64, i915->dsm.stolen.start,

-:186: 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
#186: FILE: drivers/gpu/drm/i915/gem/i915_gem_stolen.c:590:
+	GEM_BUG_ON(range_overflows(offset, size, resource_size(&i915->dsm.stolen)));

total: 0 errors, 3 warnings, 0 checks, 284 lines checked
3c151f68417c drm/i915: drop cast from DEFINE_RES_MEM() usage





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

  Powered by Linux