[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [RFC,1/2] drm/i915: Add a function to mmap framebuffer obj

Patchwork patchwork at emeril.freedesktop.org
Tue Mar 7 15:01:29 UTC 2023


== Series Details ==

Series: series starting with [RFC,1/2] drm/i915: Add a function to mmap framebuffer obj
URL   : https://patchwork.freedesktop.org/series/114775/
State : warning

== Summary ==

Error: dim checkpatch failed
d0b102d9dd12 drm/i915: Add a function to mmap framebuffer obj
-:120: 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
#120: FILE: drivers/gpu/drm/i915/gem/i915_gem_mman.c:1040:
+			GEM_BUG_ON(obj && obj->ops->mmap_ops);

-:126: 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
#126: FILE: drivers/gpu/drm/i915/gem/i915_gem_mman.c:1046:
+			GEM_BUG_ON(obj && !obj->ops->mmap_ops);

total: 0 errors, 2 warnings, 0 checks, 148 lines checked
36875aac2dd5 drm/i915/display: Implement fb_mmap callback function




More information about the Intel-gfx mailing list