✗ CI.checkpatch: warning for Introduce error threshold to drm_ras

Patchwork
2026-04-20T19:51:36Z

== Series Details ==

Series: Introduce error threshold to drm_ras
URL : https://patchwork.freedesktop.org/series/165091/
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
1f57ba1afceae32108bd24770069f764d940a0e4
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit b6789ea593d0f7becaf9c7f2f09bfdcbd9c27365
Author: Riana Tauro <riana.tauro@intel.com>
Date: Sat Apr 18 02:46:46 2026 +0530

drm/xe/ras: Add flag for Xe RAS

Add a flag for RAS. If enabled, XE driver registers with
drm_ras and exposes supported counters.

Currently this is enabled for PVC and CRI.

Signed-off-by: Riana Tauro <riana.tauro@intel.com>
+ /mt/dim checkpatch da91cb4e6137507f74e4da41c39d0260b4cd1201 drm-intel
24cb1511b779 drm/ras: Update counter helpers with counter naming
b2b42850a2d7 drm/ras: Introduce get-error-threshold
-:220: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#220: FILE: drivers/gpu/drm/drm_ras.c:405:
+int drm_ras_nl_get_error_threshold_doit(struct sk_buff *skb,
+ struct genl_info *info)

-:247: WARNING:LONG_LINE: line length of 118 exceeds 100 columns
#247: FILE: drivers/gpu/drm/drm_ras_nl.c:26:
+static const struct nla_policy drm_ras_get_error_threshold_nl_policy[DRM_RAS_A_ERROR_THRESHOLD_ATTRS_ERROR_ID + 1] = {

total: 0 errors, 1 warnings, 1 checks, 275 lines checked
b14b6b3fdce7 drm/ras: Introduce set-error-threshold
-:118: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#118: FILE: drivers/gpu/drm/drm_ras.c:451:
+int drm_ras_nl_set_error_threshold_doit(struct sk_buff *skb,
+ struct genl_info *info)

-:147: WARNING:LONG_LINE: line length of 125 exceeds 100 columns
#147: FILE: drivers/gpu/drm/drm_ras_nl.c:32:
+static const struct nla_policy drm_ras_set_error_threshold_nl_policy[DRM_RAS_A_ERROR_THRESHOLD_ATTRS_ERROR_THRESHOLD + 1] = {

total: 0 errors, 1 warnings, 1 checks, 165 lines checked
ccf8617bd24c drm/xe/uapi: Add additional error components to XE drm_ras
e3172913553a drm/xe/sysctrl: Add system controller interrupt handler
557b5ee5d8ce drm/xe/sysctrl: Add system controller event support
-:74: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#74:
new file mode 100644

total: 0 errors, 1 warnings, 0 checks, 219 lines checked
28c4e4d1c72f drm/xe/ras: Introduce correctable error handling
-:27: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#27:
new file mode 100644

-:70: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations
#70: FILE: drivers/gpu/drm/xe/xe_ras.c:39:
+};
+static_assert(ARRAY_SIZE(xe_ras_severities) == XE_RAS_SEV_MAX);

-:81: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations
#81: FILE: drivers/gpu/drm/xe/xe_ras.c:50:
+};
+static_assert(ARRAY_SIZE(xe_ras_components) == XE_RAS_COMP_MAX);

total: 0 errors, 1 warnings, 2 checks, 202 lines checked
3423741adcdc drm/xe/ras: Get error threshold support
-:43: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations
#43: FILE: drivers/gpu/drm/xe/xe_ras.c:63:
+};
+static_assert(ARRAY_SIZE(drm_to_xe_ras_components) == DRM_XE_RAS_ERR_COMP_MAX);

-:50: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations
#50: FILE: drivers/gpu/drm/xe/xe_ras.c:70:
+};
+static_assert(ARRAY_SIZE(drm_to_xe_ras_severities) == DRM_XE_RAS_ERR_SEV_MAX);

total: 0 errors, 0 warnings, 2 checks, 143 lines checked
753a4612f652 drm/xe/ras: Set error threshold support
8c9e08ab822f drm/xe/drm_ras: Wire up error threshold callbacks
b6789ea593d0 drm/xe/ras: Add flag for Xe RAS
-:21: WARNING:LONG_LINE_COMMENT: line length of 101 exceeds 100 columns
#21: FILE: drivers/gpu/drm/xe/xe_device_types.h:194:
+ /** @info.has_ras: Device supports RAS (Reliability, Availability, Serviceability) */

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