✗ CI.checkpatch: warning for drm/xe: Add helper macro to loop each dss
Patchwork
patchwork at emeril.freedesktop.org
Wed Jan 31 21:51:29 UTC 2024
== Series Details ==
Series: drm/xe: Add helper macro to loop each dss
URL : https://patchwork.freedesktop.org/series/129391/
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 b0eaf7f860a8e8bfeb9df4b9cbcf4f2db266a6f1
Author: Zhanjun Dong <zhanjun.dong at intel.com>
Date: Wed Jan 31 13:48:11 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 8327dc2a5a26f82a8700035c6259f57e9299d6a2 drm-intel
b0eaf7f86 drm/xe: Add helper macro to loop each dss
-:84: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'dss_' - possible side-effects?
#84: FILE: drivers/gpu/drm/xe/xe_gt_mcr.h:37:
+#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, 110 lines checked
More information about the Intel-xe
mailing list