✗ Fi.CI.CHECKPATCH: warning for drm/i915/display/bmg: Add platform descriptor
Patchwork
patchwork at emeril.freedesktop.org
Tue Jun 4 14:37:47 UTC 2024
== Series Details ==
Series: drm/i915/display/bmg: Add platform descriptor
URL : https://patchwork.freedesktop.org/series/134448/
State : warning
== Summary ==
Error: dim checkpatch failed
a0b39b93b288 drm/i915/display/bmg: Add platform descriptor
-:55: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#55: FILE: include/drm/intel/i915_pciids.h:793:
+#define INTEL_BMG_IDS(MACRO__, ...) \
+ MACRO__(0xE202, ## __VA_ARGS__), \
+ MACRO__(0xE20B, ## __VA_ARGS__), \
+ MACRO__(0xE20C, ## __VA_ARGS__), \
+ MACRO__(0xE20D, ## __VA_ARGS__), \
+ MACRO__(0xE212, ## __VA_ARGS__)
-:55: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'MACRO__' - possible side-effects?
#55: FILE: include/drm/intel/i915_pciids.h:793:
+#define INTEL_BMG_IDS(MACRO__, ...) \
+ MACRO__(0xE202, ## __VA_ARGS__), \
+ MACRO__(0xE20B, ## __VA_ARGS__), \
+ MACRO__(0xE20C, ## __VA_ARGS__), \
+ MACRO__(0xE20D, ## __VA_ARGS__), \
+ MACRO__(0xE212, ## __VA_ARGS__)
total: 1 errors, 0 warnings, 1 checks, 37 lines checked
More information about the Intel-gfx
mailing list