✗ CI.checkpatch: warning for drm/xe: Fix build without debugfs

Patchwork patchwork at emeril.freedesktop.org
Tue Jul 22 19:57:41 UTC 2025


== Series Details ==

Series: drm/xe: Fix build without debugfs
URL   : https://patchwork.freedesktop.org/series/151962/
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
63535c743231a7497a612c53f6edbb8a7d14412d
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit f3c3bf07df1ebc446d357e28aedebedf7be5cade
Author: Lucas De Marchi <lucas.demarchi at intel.com>
Date:   Tue Jul 22 12:52:08 2025 -0700

    drm/xe: Fix build without debugfs
    
    When CONFIG_DEBUG_FS is off, drivers/gpu/drm/xe/xe_gt_debugfs.o
    is not built and build fails on some setups with:
    
            ld: drivers/gpu/drm/xe/xe_gt.o: in function `xe_fault_inject_gt_reset':
            drivers/gpu/drm/xe/xe_gt.h:27:(.text+0x1659): undefined reference to `gt_reset_failure'
            ld: drivers/gpu/drm/xe/xe_gt.h:27:(.text+0x1c16): undefined reference to `gt_reset_failure'
            collect2: error: ld returned 1 exit status
    
    Do not use the gt_reset_failure attribute if debugfs is not enabled.
    
    Fixes: 8f3013e0b222 ("drm/xe: Introduce fault injection for gt reset")
    Cc: Himal Prasad Ghimiray <himal.prasad.ghimiray at intel.com>
    Acked-by: Randy Dunlap <rdunlap at infradead.org>
    Tested-by: Randy Dunlap <rdunlap at infradead.org>
    Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
+ /mt/dim checkpatch 3af657bd50a6cefddf6b0edb2c1d8ce747dfdd8a drm-intel
f3c3bf07df1e drm/xe: Fix build without debugfs
-:11: WARNING:COMMIT_LOG_LONG_LINE: Prefer a maximum 75 chars per line (possible unwrapped commit description?)
#11: 
	ld: drivers/gpu/drm/xe/xe_gt.h:27:(.text+0x1c16): undefined reference to `gt_reset_failure'

total: 0 errors, 1 warnings, 0 checks, 8 lines checked




More information about the Intel-xe mailing list