[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: split out intel_pch.[ch] from i915_drv.[ch]
Patchwork
patchwork at emeril.freedesktop.org
Wed Aug 7 13:19:32 UTC 2019
== Series Details ==
Series: drm/i915: split out intel_pch.[ch] from i915_drv.[ch]
URL : https://patchwork.freedesktop.org/series/64833/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip
07241392f28e drm/i915: split out intel_pch.[ch] from i915_drv.[ch]
-:319: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#319:
new file mode 100644
-:590: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'dev_priv' - possible side-effects?
#590: FILE: drivers/gpu/drm/i915/intel_pch.h:60:
+#define HAS_PCH_LPT_LP(dev_priv) \
+ (INTEL_PCH_ID(dev_priv) == INTEL_PCH_LPT_LP_DEVICE_ID_TYPE || \
+ INTEL_PCH_ID(dev_priv) == INTEL_PCH_WPT_LP_DEVICE_ID_TYPE)
-:593: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'dev_priv' - possible side-effects?
#593: FILE: drivers/gpu/drm/i915/intel_pch.h:63:
+#define HAS_PCH_LPT_H(dev_priv) \
+ (INTEL_PCH_ID(dev_priv) == INTEL_PCH_LPT_DEVICE_ID_TYPE || \
+ INTEL_PCH_ID(dev_priv) == INTEL_PCH_WPT_DEVICE_ID_TYPE)
total: 0 errors, 1 warnings, 2 checks, 559 lines checked
More information about the Intel-gfx
mailing list