[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Warn on if set frontbuffer return value is not NULL on release

Patchwork patchwork at emeril.freedesktop.org
Thu Sep 28 07:32:54 UTC 2023


== Series Details ==

Series: drm/i915: Warn on if set frontbuffer return value is not NULL on release
URL   : https://patchwork.freedesktop.org/series/124375/
State : warning

== Summary ==

Error: dim checkpatch failed
01ae0b3d36e2 drm/i915: Warn on if set frontbuffer return value is not NULL on release
-:30: CHECK:COMPARISON_TO_NULL: Comparison to NULL could be written "i915_gem_object_set_frontbuffer"
#30: FILE: drivers/gpu/drm/i915/display/intel_frontbuffer.c:263:
+		    i915_gem_object_set_frontbuffer(obj, NULL) != NULL);

total: 0 errors, 0 warnings, 1 checks, 9 lines checked




More information about the Intel-gfx mailing list