✗ CI.checkpatch: warning for drm/xe/bmg: Add PCI IDs

Patchwork patchwork at emeril.freedesktop.org
Tue Jun 4 18:36:02 UTC 2024


== Series Details ==

Series: drm/xe/bmg: Add PCI IDs
URL   : https://patchwork.freedesktop.org/series/134387/
State : warning

== Summary ==

+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
51ce9f6cd981d42d7467409d7dbc559a450abc1e
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit e60233b879c434ccee2d0e462c34c5a219839d57
Author: Matt Roper <matthew.d.roper at intel.com>
Date:   Mon Jun 3 20:24:30 2024 +0530

    drm/xe/bmg: Add PCI IDs
    
    Add the initial set of device IDs for Battlemage.
    
    Signed-off-by: Matt Roper <matthew.d.roper at intel.com>
    Signed-off-by: Balasubramani Vivekanandan <balasubramani.vivekanandan at intel.com>
    Reviewed-by: Gustavo Sousa <gustavo.sousa at intel.com>
+ /mt/dim checkpatch 77588a3e3e58917a9b1d992aeef6f02a6b85ded5 drm-intel
e60233b879c4 drm/xe/bmg: Add PCI IDs
-:41: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#41: FILE: include/drm/intel/xe_pciids.h:211:
+#define XE_BMG_IDS(MACRO__, ...) \
+	MACRO__(0xE202, ## __VA_ARGS__), \
+	MACRO__(0xE20B, ## __VA_ARGS__), \
+	MACRO__(0xE20C, ## __VA_ARGS__), \
+	MACRO__(0xE20D, ## __VA_ARGS__), \
+	MACRO__(0xE212, ## __VA_ARGS__)

-:41: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'MACRO__' - possible side-effects?
#41: FILE: include/drm/intel/xe_pciids.h:211:
+#define XE_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, 26 lines checked




More information about the Intel-xe mailing list