✗ CI.checkpatch: warning for drm: Create an app info option for wedge events (rev5)

Patchwork patchwork at emeril.freedesktop.org
Mon May 19 22:12:01 UTC 2025


== Series Details ==

Series: drm: Create an app info option for wedge events (rev5)
URL   : https://patchwork.freedesktop.org/series/145636/
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
202708c00696422fd217223bb679a353a5936e23
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit e75f5943e8f374b28b575ba7aeefde92cf03528f
Author: André Almeida <andrealmeid at igalia.com>
Date:   Mon May 19 19:03:32 2025 -0300

    drm/amdgpu: Make use of drm_wedge_app_info
    
    To notify userspace about which app (if any) made the device get in a
    wedge state, make use of drm_wedge_app_info parameter, filling it with
    the app PID and name.
    
    Signed-off-by: André Almeida <andrealmeid at igalia.com>
+ /mt/dim checkpatch 956a742459cff150a14f1d2f44b6294e646f208a drm-intel
2ff2c565d2aa drm: Create an app info option for wedge events
-:77: WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#77: FILE: drivers/gpu/drm/drm_drv.c:564:
+	char *envp[] = { event_string, NULL, NULL, NULL };

total: 0 errors, 1 warnings, 0 checks, 97 lines checked
13367e84bcc4 drm/doc: Add a section about "App information" for the wedge API
e75f5943e8f3 drm/amdgpu: Make use of drm_wedge_app_info




More information about the Intel-xe mailing list