[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/2] drm/i915: do not abbreviate version in debugfs

Patchwork patchwork at emeril.freedesktop.org
Thu Jul 8 01:53:56 UTC 2021


== Series Details ==

Series: series starting with [1/2] drm/i915: do not abbreviate version in debugfs
URL   : https://patchwork.freedesktop.org/series/92296/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
b99d3141fb47 drm/i915: do not abbreviate version in debugfs
392edad5e651 drm/i915: Add release id version
-:48: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'i915' - possible side-effects?
#48: FILE: drivers/gpu/drm/i915/i915_drv.h:1249:
+#define GRAPHICS_VER_FULL(i915)		IP_VER(INTEL_INFO(i915)->graphics_ver, \
+					       INTEL_INFO(i915)->graphics_rel)

-:54: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'i915' - possible side-effects?
#54: FILE: drivers/gpu/drm/i915/i915_drv.h:1255:
+#define MEDIA_VER_FULL(i915)		IP_VER(INTEL_INFO(i915)->media_ver, \
+					       INTEL_INFO(i915)->media_rel)

-:70: WARNING:LONG_LINE: line length of 101 exceeds 100 columns
#70: FILE: drivers/gpu/drm/i915/intel_device_info.c:100:
+		drm_printf(p, "graphics version: %u.%02u\n", info->graphics_ver, info->graphics_rel);

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




More information about the Intel-gfx mailing list