[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/3] drm/i915: Split Pineview device info into desktop and mobile

Patchwork patchwork at emeril.freedesktop.org
Mon Mar 18 14:47:56 UTC 2019


== Series Details ==

Series: series starting with [1/3] drm/i915: Split Pineview device info into desktop and mobile
URL   : https://patchwork.freedesktop.org/series/58123/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
7e0ef0a2b5cc drm/i915: Split Pineview device info into desktop and mobile
ff060ad36bb9 drm/i915: Remove redundant device id from IS_IRONLAKE_M macro
-:38: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'dev_priv' - possible side-effects?
#38: FILE: drivers/gpu/drm/i915/i915_drv.h:2304:
+#define IS_IRONLAKE_M(dev_priv) \
+	(IS_PLATFORM(dev_priv, INTEL_IRONLAKE) && IS_MOBILE(dev_priv))

total: 0 errors, 0 warnings, 1 checks, 25 lines checked
253422fab8df drm/i915: Introduce concept of a sub-platform
-:129: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#129: FILE: drivers/gpu/drm/i915/i915_drv.h:2310:
+intel_subplatform(const struct intel_runtime_info *info,
+		      enum intel_platform p)

-:173: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'dev_priv' - possible side-effects?
#173: FILE: drivers/gpu/drm/i915/i915_drv.h:2365:
+#define IS_IRONLAKE_M(dev_priv)	\
 	(IS_PLATFORM(dev_priv, INTEL_IRONLAKE) && IS_MOBILE(dev_priv))

total: 0 errors, 0 warnings, 2 checks, 326 lines checked



More information about the Intel-gfx mailing list