✗ CI.checkpatch: warning for Introduce DRM device wedged event (rev6)

Patchwork patchwork at emeril.freedesktop.org
Fri Oct 25 09:09:48 UTC 2024


== Series Details ==

Series: Introduce DRM device wedged event (rev6)
URL   : https://patchwork.freedesktop.org/series/138070/
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
30ab6715fc09baee6cc14cb3c89ad8858688d474
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 7ebadd95c48c1684edc9445a7ce640cd8c1d6f07
Author: Raag Jadav <raag.jadav at intel.com>
Date:   Fri Oct 25 14:18:17 2024 +0530

    drm/i915: Use device wedged event
    
    Now that we have device wedged event provided by DRM core, make use
    of it and support both driver rebind and bus-reset based recovery.
    With this in place, userspace will be notified of wedged device on
    gt reset failure.
    
    Signed-off-by: Raag Jadav <raag.jadav at intel.com>
+ /mt/dim checkpatch 7cadd167321b3267a9803aba88f115fc9809d4ea drm-intel
87c8151d745c drm: Introduce device wedged event
-:128: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations
#128: FILE: drivers/gpu/drm/drm_drv.c:84:
+};
+static_assert(ARRAY_SIZE(drm_wedge_recovery_opts) == ffs(DRM_WEDGE_RECOVERY_BUS_RESET));

-:156: WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#156: FILE: drivers/gpu/drm/drm_drv.c:532:
+	char *envp[] = { event_string, NULL };

total: 0 errors, 1 warnings, 1 checks, 95 lines checked
354ac9b687e7 drm/doc: Document device wedged event
5c800f86c85f drm/xe: Use device wedged event
-:20: WARNING:COMMIT_LOG_LONG_LINE: Prefer a maximum 75 chars per line (possible unwrapped commit description?)
#20: 
KERNEL[265.802982] change   /devices/pci0000:00/0000:00:01.0/0000:01:00.0/0000:02:01.0/0000:03:00.0/drm/card0 (drm)

total: 0 errors, 1 warnings, 0 checks, 24 lines checked
7ebadd95c48c drm/i915: Use device wedged event




More information about the Intel-xe mailing list