[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Fixed NULL pointer dereference in handle_edid functions for GPUs that do not support EDID

Patchwork patchwork at emeril.freedesktop.org
Tue Sep 8 14:31:53 UTC 2020


== Series Details ==

Series: Fixed NULL pointer dereference in handle_edid functions for GPUs that do not support EDID
URL   : https://patchwork.freedesktop.org/series/81463/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
24f0f91b0b97 Fixed NULL pointer dereference in handle_edid functions for GPUs that do not support EDID
-:7: WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#7: 
In the function intel_vgpu_reg_rw_edid of gvt/kvmgt.c, pos can get equal to NULL for GPUs that do not

-:42: CHECK:COMPARISON_TO_NULL: Comparison to NULL could be written "!pos"
#42: FILE: drivers/gpu/drm/i915/gvt/kvmgt.c:560:
+	if (pos == NULL) {

-:47: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Alejandro Sior <aho at sior.be>'

total: 0 errors, 2 warnings, 1 checks, 10 lines checked




More information about the Intel-gfx mailing list