✗ Fi.CI.CHECKPATCH: warning for series starting with [v2,1/3] drm/i915: Store gen_mask inside the static device info

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



== Series Details ==

Series: series starting with [v2,1/3] drm/i915: Store gen_mask inside the static device info
URL   : https://patchwork.freedesktop.org/series/38317/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
85fcbfb0bee2 drm/i915: Store gen_mask inside the static device info
-:35: CHECK: Macro argument reuse 'x' - possible side-effects?
#35: FILE: drivers/gpu/drm/i915/i915_pci.c:32:
+#define GEN(x) .gen = (x), .gen_mask = BIT((x) - 1)

total: 0 errors, 0 warnings, 1 checks, 151 lines checked
156c985de31f drm/i915: Always define GEN as part of GENx_FEATURES
aa6f8fe32f45 drm/i915: Store platform_mask inside the static device info
-:36: CHECK: Macro argument reuse 'x' - possible side-effects?
#36: FILE: drivers/gpu/drm/i915/i915_pci.c:32:
+#define PLATFORM(x) .platform = (x), .platform_mask = BIT(x)

total: 0 errors, 0 warnings, 1 checks, 280 lines checked

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux