[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/3] drm/i915: Split Pineview device info into desktop and mobile (rev2)
Patchwork
patchwork at emeril.freedesktop.org
Thu Mar 21 13:26:16 UTC 2019
== Series Details ==
Series: series starting with [1/3] drm/i915: Split Pineview device info into desktop and mobile (rev2)
URL : https://patchwork.freedesktop.org/series/58123/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip
777e1e26f8a9 drm/i915: Split Pineview device info into desktop and mobile
5e8af08a89e1 drm/i915: Remove redundant device id from IS_IRONLAKE_M macro
-:41: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'dev_priv' - possible side-effects?
#41: FILE: drivers/gpu/drm/i915/i915_drv.h:2307:
+#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
6532f6e252de 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:2313:
+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:2368:
+#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