✗ Fi.CI.CHECKPATCH: warning for series starting with [1/3] drm/i915: Make number of ddi ports explicit. (rev2)

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

 



== Series Details ==

Series: series starting with [1/3] drm/i915: Make number of ddi ports explicit. (rev2)
URL   : https://patchwork.freedesktop.org/series/51275/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
bafa4e7b6635 drm/i915: Make number of ddi ports explicit.
a43c4174c546 drm/i915: Prefer direct IS_CANNONLAKE over IS_CNL_WITH_PORT_F
7dbe18944986 drm/i915: Use the ddi_ports info to kill ugly CNL_WITH_PORT_F.
-:142: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#142: FILE: include/drm/i915_pciids.h:450:
+#define INTEL_CNL_PORTF_IDS(info) \
 	INTEL_VGA_DEVICE(0x5A54, info), \
 	INTEL_VGA_DEVICE(0x5A5C, info), \
 	INTEL_VGA_DEVICE(0x5A44, info), \

-:142: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'info' - possible side-effects?
#142: FILE: include/drm/i915_pciids.h:450:
+#define INTEL_CNL_PORTF_IDS(info) \
 	INTEL_VGA_DEVICE(0x5A54, info), \
 	INTEL_VGA_DEVICE(0x5A5C, info), \
 	INTEL_VGA_DEVICE(0x5A44, info), \

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

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




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux