[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/gem: Use list_entry to access list members

Patchwork patchwork at emeril.freedesktop.org
Sun May 23 02:29:36 UTC 2021


== Series Details ==

Series: drm/i915/gem: Use list_entry to access list members
URL   : https://patchwork.freedesktop.org/series/90449/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
ea9ca76d0bd2 drm/i915/gem: Use list_entry to access list members
-:22: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#22: FILE: drivers/gpu/drm/i915/gvt/dmabuf.c:152:
+			dmabuf_obj = list_entry(pos,
 					struct intel_vgpu_dmabuf_obj, list);

-:34: CHECK:COMPARISON_TO_NULL: Comparison to NULL could be written "!dmabuf_obj->info"
#34: FILE: drivers/gpu/drm/i915/gvt/dmabuf.c:361:
+		if (dmabuf_obj->info == NULL)

total: 0 errors, 0 warnings, 2 checks, 41 lines checked




More information about the Intel-gfx mailing list