✗ CI.checkpatch: warning for drm/xe: Add helper macro to loop each dss

Patchwork patchwork at emeril.freedesktop.org
Fri Feb 9 17:49:07 UTC 2024


== Series Details ==

Series: drm/xe: Add helper macro to loop each dss
URL   : https://patchwork.freedesktop.org/series/129733/
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
35591fb8b4d5305b37ce31483f85ac0956eaa536
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 7a8a59df6e7911b2cfdf34ad770abb6e3450c279
Author: Zhanjun Dong <zhanjun.dong at intel.com>
Date:   Fri Feb 9 09:45:48 2024 -0800

    drm/xe: Add helper macro to loop each dss
    
    Add helper macro to loop each dss. This is a precursor patch to allow
    for easier iteration through MCR registers and other per-DSS uses.
    
    Signed-off-by: Zhanjun Dong <zhanjun.dong at intel.com>
+ /mt/dim checkpatch 2aceb3c0b9c8c840b8687a903935a7a2ea9631d4 drm-intel
7a8a59df6 drm/xe: Add helper macro to loop each dss
-:88: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'dss_' - possible side-effects?
#88: FILE: drivers/gpu/drm/xe/xe_gt_mcr.h:36:
+#define for_each_dss_steering(dss_, gt_, group_, instance_) \
+	for (dss_ = xe_gt_topology_get_next_dss(gt, 0); \
+	     dss_ >= 0; \
+	     dss_ = xe_gt_topology_get_next_dss(gt, dss_ + 1)) \
+		for_each_if(xe_gt_mcr_get_dss_steering(gt_, dss_, &(group_), &(instance_)))

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




More information about the Intel-xe mailing list