✗ CI.checkpatch: warning for drm: Create a task info option for wedge events (rev3)

Patchwork patchwork at emeril.freedesktop.org
Mon Jun 16 18:22:49 UTC 2025


== Series Details ==

Series: drm: Create a task info option for wedge events (rev3)
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 4ead4d2e1f81676b7bfdf1c8ab9ecf7099c16a89
Author: André Almeida <andrealmeid at igalia.com>
Date:   Mon Jun 16 15:14:38 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 43ac07d088f280cfb9eeda0c4caf11b0b7b56e96 drm-intel
c8b829291649 drm: amdgpu: Allow NULL pointers at amdgpu_vm_put_task_info()
3f74d7701d50 drm: amdgpu: Create amdgpu_vm_print_task_info()
dfe0dbdd69db drm: Create a task info option for wedge events
-:89: WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#89: FILE: drivers/gpu/drm/drm_drv.c:568:
+	char *envp[] = { event_string, NULL, NULL, NULL };

-:102: CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'info->pid >= 0'
#102: FILE: drivers/gpu/drm/drm_drv.c:592:
+	if (info && (info->comm[0] != '\0') && (info->pid >= 0)) {

total: 0 errors, 1 warnings, 1 checks, 116 lines checked
52872c4ce836 drm/doc: Add a section about "Task information" for the wedge API
23d6afc8d7e0 drm: amdgpu: Use struct drm_wedge_task_info inside of struct amdgpu_task_info
-:26: WARNING:LONG_LINE: line length of 105 exceeds 100 columns
#26: FILE: drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1789:
+			seq_printf(m, "pid:%d\tProcess:%s ----------\n", ti->task.pid, ti->process_name);

-:181: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#181: 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
4ead4d2e1f81 drm/amdgpu: Make use of drm_wedge_task_info




More information about the Intel-xe mailing list