✗ CI.checkpatch: warning for PF: threshold config fixes
Patchwork
patchwork at emeril.freedesktop.org
Fri Aug 30 14:20:32 UTC 2024
== Series Details ==
Series: PF: threshold config fixes
URL : https://patchwork.freedesktop.org/series/138023/
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
9fe5037901cabbcdf27a6fe0dfb047ca1474d363
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit d6e8d8f18dcd580e0e0897eba5e359fe2dc11ef0
Author: Michal Wajdeczko <michal.wajdeczko at intel.com>
Date: Fri Aug 30 15:21:00 2024 +0200
drm/xe/pf: Reset thresholds when releasing a VF config
As part of the VF config release, we should reset all parameters,
including thresholds, to always start with the clean VF config.
Signed-off-by: Michal Wajdeczko <michal.wajdeczko at intel.com>
+ /mt/dim checkpatch 876db6b8ef45d285316cc53b5cf44cbc39aa8758 drm-intel
05d508ba75e3 drm/xe/pf: Add thresholds to the VF KLV config
-:21: WARNING:TRAILING_SEMICOLON: macros should not use a trailing semicolon
#21: FILE: drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c:280:
+#define encode_threshold_config(TAG, ...) ({ \
+ cfg[n++] = PREP_GUC_KLV_TAG(VF_CFG_THRESHOLD_##TAG); \
+ cfg[n++] = config->thresholds[MAKE_XE_GUC_KLV_THRESHOLD_INDEX(TAG)]; \
+});
total: 0 errors, 1 warnings, 0 checks, 14 lines checked
d6e8d8f18dcd drm/xe/pf: Reset thresholds when releasing a VF config
-:23: WARNING:TRAILING_SEMICOLON: macros should not use a trailing semicolon
#23: FILE: drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c:1849:
+#define reset_threshold_config(TAG, ...) ({ \
+ config->thresholds[MAKE_XE_GUC_KLV_THRESHOLD_INDEX(TAG)] = 0; \
+});
total: 0 errors, 1 warnings, 0 checks, 25 lines checked
More information about the Intel-xe
mailing list