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

Patchwork patchwork at emeril.freedesktop.org
Thu Mar 23 10:26:20 UTC 2023


== Series Details ==

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

== Summary ==

Error: dim checkpatch failed
75005488af6b 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
38fccd42b361 drm/i915/display: Add helper func to get intel_fbdev from drm_fb_helper
d8dfef2c5628 drm/i915/display: Implement fb_mmap callback function




More information about the Intel-gfx mailing list