✗ Fi.CI.CHECKPATCH: warning for drm: Create a task info option for wedge events
Patchwork
patchwork at emeril.freedesktop.org
Wed May 21 17:07:22 UTC 2025
== Series Details ==
Series: drm: Create a task info option for wedge events
URL : https://patchwork.freedesktop.org/series/149333/
State : warning
== Summary ==
Error: dim checkpatch failed
516f5c6ca277 drm: Create a task info option for wedge events
-:84: WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#84: FILE: drivers/gpu/drm/drm_drv.c:567:
+ char *envp[] = { event_string, NULL, NULL, NULL };
-:92: CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'info->pid >= 0'
#92: FILE: drivers/gpu/drm/drm_drv.c:589:
+ if (info && ((info->comm && info->comm[0] != '\0')) && (info->pid >= 0)) {
total: 0 errors, 1 warnings, 1 checks, 101 lines checked
ad7858ac693b drm/doc: Add a section about "Task information" for the wedge API
a978bb34d00a drm/amdgpu: Make use of drm_wedge_task_info
More information about the Intel-gfx
mailing list