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

Patchwork patchwork at emeril.freedesktop.org
Fri Oct 25 10:08:04 UTC 2024


== Series Details ==

Series: Introduce DRM device wedged event (rev6)
URL   : https://patchwork.freedesktop.org/series/138069/
State : warning

== Summary ==

Error: dim checkpatch failed
da83e6333b1b 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
0b1ea2f4c526 drm/doc: Document device wedged event
bbdad8e4eafb 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
5201bcf26204 drm/i915: Use device wedged event




More information about the Intel-gfx mailing list