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

Patchwork patchwork at emeril.freedesktop.org
Mon Mar 27 20:21:06 UTC 2023


== Series Details ==

Series: series starting with [v2,1/3] drm/i915: Add a function to mmap framebuffer obj (rev2)
URL   : https://patchwork.freedesktop.org/series/115542/
State : warning

== Summary ==

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

-:138: 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
#138: 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, 154 lines checked
418286e89a08 drm/i915/display: Add helper func to get intel_fbdev from drm_fb_helper
124941cc4cce drm/i915/display: Implement fb_mmap callback function




More information about the Intel-gfx mailing list