✗ Fi.CI.CHECKPATCH: warning for drm/i915/cx0_phy: Update HDMI TMDS C20 algorithm value (rev4)
Patchwork
patchwork at emeril.freedesktop.org
Wed Dec 18 09:56:03 UTC 2024
== Series Details ==
Series: drm/i915/cx0_phy: Update HDMI TMDS C20 algorithm value (rev4)
URL : https://patchwork.freedesktop.org/series/141280/
State : warning
== Summary ==
Error: dim checkpatch failed
d77020e25e92 drm/i915/display: Add MTL subplatforms definition
-:69: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#69: FILE: include/drm/intel/pciids.h:814:
+#define INTEL_MTL_U_IDS(MACRO__, ...) \
MACRO__(0x7D40, ## __VA_ARGS__), \
+ MACRO__(0x7D45, ## __VA_ARGS__)
-:69: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'MACRO__' - possible side-effects?
#69: FILE: include/drm/intel/pciids.h:814:
+#define INTEL_MTL_U_IDS(MACRO__, ...) \
MACRO__(0x7D40, ## __VA_ARGS__), \
+ MACRO__(0x7D45, ## __VA_ARGS__)
-:74: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#74: FILE: include/drm/intel/pciids.h:818:
+#define INTEL_MTL_IDS(MACRO__, ...) \
+ INTEL_MTL_U_IDS(MACRO__, ## __VA_ARGS__), \
MACRO__(0x7D55, ## __VA_ARGS__), \
MACRO__(0x7D60, ## __VA_ARGS__), \
MACRO__(0x7DD5, ## __VA_ARGS__)
-:74: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'MACRO__' - possible side-effects?
#74: FILE: include/drm/intel/pciids.h:818:
+#define INTEL_MTL_IDS(MACRO__, ...) \
+ INTEL_MTL_U_IDS(MACRO__, ## __VA_ARGS__), \
MACRO__(0x7D55, ## __VA_ARGS__), \
MACRO__(0x7D60, ## __VA_ARGS__), \
MACRO__(0x7DD5, ## __VA_ARGS__)
total: 2 errors, 0 warnings, 2 checks, 46 lines checked
e7c45ae4efda drm/i915/cx0_phy: Update HDMI TMDS C20 algorithm value
-:118: WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#118: FILE: drivers/gpu/drm/i915/display/intel_cx0_phy_regs.h:297:
+#define C20_PHY_TX_DCC_CAL_RANGE_MASK ^IREG_GENMASK16(11, 8)$
-:140: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'id' - possible side-effects?
#140: FILE: drivers/gpu/drm/i915/display/intel_display_device.h:242:
+#define IS_ARROWLAKE_S_BY_HOST_BRIDGE_ID(id) \
+ (((id) == ARLS_HOST_BRIDGE_PCI_ID1) || \
+ ((id) == ARLS_HOST_BRIDGE_PCI_ID2) || \
+ ((id) == ARLS_HOST_BRIDGE_PCI_ID3) || \
+ ((id) == ARLS_HOST_BRIDGE_PCI_ID4))
total: 0 errors, 1 warnings, 1 checks, 103 lines checked
More information about the Intel-gfx
mailing list