[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm: Don't pass the index to drm_property_add_enum()

Patchwork patchwork at emeril.freedesktop.org
Fri Mar 16 19:22:57 UTC 2018


== Series Details ==

Series: drm: Don't pass the index to drm_property_add_enum()
URL   : https://patchwork.freedesktop.org/series/40122/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
f153106cd56b drm: Don't pass the index to drm_property_add_enum()
-:135: CHECK:SPACING: spaces preferred around that '-' (ctx:VxV)
#135: FILE: drivers/gpu/drm/gma500/cdv_device.c:488:
+			drm_property_add_enum(prop, i-1, force_audio_names[i]);
 			                             ^

-:173: WARNING:LONG_LINE: line over 100 characters
#173: FILE: drivers/gpu/drm/i915/intel_sdvo.c:2783:
+				      tv_format_names[intel_sdvo_connector->tv_format_supported[i]]);

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



More information about the Intel-gfx mailing list