✗ CI.checkpatch: warning for drm: Create a task info option for wedge events (rev2)
Patchwork
patchwork at emeril.freedesktop.org
Fri Jun 13 19:21:55 UTC 2025
== Series Details ==
Series: drm: Create a task info option for wedge events (rev2)
URL : https://patchwork.freedesktop.org/series/149332/
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
f8ff75ae1d2127635239b134695774ed4045d05b
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 2367d766a594558add76622491dd566aa60ca87a
Author: André Almeida <andrealmeid at igalia.com>
Date: Fri Jun 13 15:43:48 2025 -0300
drm/amdgpu: Make use of drm_wedge_task_info
To notify userspace about which task (if any) made the device get in a
wedge state, make use of drm_wedge_task_info parameter, filling it with
the task PID and name.
Signed-off-by: André Almeida <andrealmeid at igalia.com>
+ /mt/dim checkpatch 4d016d6e602638e0ebc3895331224e057508c07a drm-intel
cd74716ebc6c drm: amdgpu: Create amdgpu_vm_print_task_info()
b130b63bd360 drm: Create a task info option for wedge events
-:86: WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#86: FILE: drivers/gpu/drm/drm_drv.c:568:
+ char *envp[] = { event_string, NULL, NULL, NULL };
-:94: CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'info->pid >= 0'
#94: FILE: drivers/gpu/drm/drm_drv.c:590:
+ if (info && (info->comm[0] != '\0') && (info->pid >= 0)) {
total: 0 errors, 1 warnings, 1 checks, 102 lines checked
6b6fcf9cf02c drm/doc: Add a section about "Task information" for the wedge API
60675e990cc9 drm: amdgpu: Use struct drm_wedge_task_info inside of struct amdgpu_task_info
-:25: WARNING:LONG_LINE: line length of 105 exceeds 100 columns
#25: FILE: drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1789:
+ seq_printf(m, "pid:%d\tProcess:%s ----------\n", ti->task.pid, ti->process_name);
-:180: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#180: FILE: drivers/gpu/drm/amd/amdkfd/kfd_smi_events.c:363:
+ KFD_EVENT_FMT_PROCESS(task_info->task.pid,
+ task_info->task.comm));
total: 0 errors, 1 warnings, 1 checks, 119 lines checked
2367d766a594 drm/amdgpu: Make use of drm_wedge_task_info
More information about the Intel-xe
mailing list