[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [CI,1/4] drm/i915: Use str_yes_no() (rev2)

Patchwork patchwork at emeril.freedesktop.org
Mon Feb 28 23:23:01 UTC 2022


== Series Details ==

Series: series starting with [CI,1/4] drm/i915: Use str_yes_no() (rev2)
URL   : https://patchwork.freedesktop.org/series/100771/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
e9d80367b6a2 drm/i915: Use str_yes_no()
-:333: WARNING:LONG_LINE: line length of 104 exceeds 100 columns
#333: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:213:
+		      str_yes_no(__entry->cxsr), __entry->sr_plane, __entry->sr_cursor, __entry->sr_fbc,

-:334: WARNING:LONG_LINE: line length of 110 exceeds 100 columns
#334: FILE: drivers/gpu/drm/i915/display/intel_display_trace.h:214:
+		      str_yes_no(__entry->hpll), __entry->hpll_plane, __entry->hpll_cursor, __entry->hpll_fbc,

-:553: WARNING:LONG_LINE: line length of 107 exceeds 100 columns
#553: FILE: drivers/gpu/drm/i915/gt/intel_engine_cs.c:1645:
+			   str_yes_no(test_bit(TASKLET_STATE_SCHED, &engine->sched_engine->tasklet.state)),

-:730: WARNING:LONG_LINE: line length of 103 exceeds 100 columns
#730: FILE: drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c:316:
+			   str_yes_no((rpmodectl & GEN6_RP_MEDIA_MODE_MASK) == GEN6_RP_MEDIA_SW_MODE));

-:746: WARNING:LONG_LINE: line length of 103 exceeds 100 columns
#746: FILE: drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c:425:
+			   str_yes_no((rpmodectl & GEN6_RP_MEDIA_MODE_MASK) == GEN6_RP_MEDIA_SW_MODE));

-:1185: CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'name' may be better as '(name)' to avoid precedence issues
#1185: FILE: drivers/gpu/drm/i915/intel_device_info.c:115:
+#define PRINT_FLAG(name) drm_printf(p, "%s: %s\n", #name, str_yes_no(info->name))

total: 0 errors, 5 warnings, 1 checks, 1085 lines checked
af443bb6aa4e drm/i915: Use str_enable_disable()
ee78b0e8d699 drm/i915: Use str_enabled_disabled()
d9a9387b3b12 drm/i915: Use str_on_off()




More information about the Intel-gfx mailing list