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

Patchwork patchwork at emeril.freedesktop.org
Tue Sep 17 04:53:08 UTC 2024


== Series Details ==

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

== Summary ==

Error: dim checkpatch failed
bfac34ee637f drm: Introduce device wedged event
-:14: WARNING:TYPO_SPELLING: 'upto' may be misspelled - perhaps 'up to'?
#14: 
and hence the vendor agnostic nature of the event. It is upto the drivers
                                                         ^^^^

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

total: 0 errors, 2 warnings, 0 checks, 86 lines checked
4f99ce118a7b drm: Expose wedge recovery methods
-:26: WARNING:AVOID_EXTERNS: externs should be avoided in .c files
#26: FILE: drivers/gpu/drm/drm_sysfs.c:39:
+extern const char *const wedge_recovery_opts[];

total: 0 errors, 1 warnings, 0 checks, 41 lines checked
c7419fc3e797 drm/xe: Use device wedged event
-:19: WARNING:COMMIT_LOG_LONG_LINE: Prefer a maximum 75 chars per line (possible unwrapped commit description?)
#19: 
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, 53 lines checked
39703e96c624 drm/i915: Use device wedged event




More information about the Intel-gfx mailing list