[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/gvt: fix double-free bug in split_2MB_gtt_entry (rev8)
Patchwork
patchwork at emeril.freedesktop.org
Thu Dec 22 12:25:24 UTC 2022
== Series Details ==
Series: drm/i915/gvt: fix double-free bug in split_2MB_gtt_entry (rev8)
URL : https://patchwork.freedesktop.org/series/108732/
State : warning
== Summary ==
Error: dim checkpatch failed
c4caf92615d0 drm/i915/gvt: fix double free bug in split_2MB_gtt_entry
-:73: CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#73: FILE: drivers/gpu/drm/i915/gvt/gtt.c:1254:
+ ret1 = ppgtt_invalidate_spt_by_shadow_entry(
-:77: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#77: FILE: drivers/gpu/drm/i915/gvt/gtt.c:1258:
+ gvt_vgpu_err("fail: shadow page %p shadow entry 0x%llx type %d\n",
+ spt, e.val64, e.type);
-:82: 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
#82: FILE: drivers/gpu/drm/i915/gvt/gtt.c:1263:
+ GEM_BUG_ON(1);
-:88: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#88: FILE: drivers/gpu/drm/i915/gvt/gtt.c:1269:
+ trace_spt_change(sub_spt->vgpu->id, "release", sub_spt,
+ sub_spt->guest_page.gfn, sub_spt->shadow_page.type);
total: 0 errors, 1 warnings, 3 checks, 73 lines checked
More information about the Intel-gfx
mailing list