✗ CI.checkpatch: warning for Add configfs support for survivability mode

Patchwork patchwork at emeril.freedesktop.org
Fri Mar 7 14:36:29 UTC 2025


== Series Details ==

Series: Add configfs support for survivability mode
URL   : https://patchwork.freedesktop.org/series/145999/
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
cbb4e4a079d89106c2736adc3c7de6f9dc56da07
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 48de3888a0a153a62e1851dee907b3217f00905a
Author: Riana Tauro <riana.tauro at intel.com>
Date:   Fri Mar 7 19:54:45 2025 +0530

    RFC drm/xe: Enable configfs support for survivability mode
    
    Register a configfs subsystem called 'xe' to userspace that allows
    users to modify the exposed attributes. Expose survivability mode as
    an attribute that can be modified manually. This is useful if
    pcode fails to detect survivability mode and for validation
    
    To enable survivability mode for a card,
    
    echo "domain:bus:dev.fn" > /sys/bus/pci/drivers/xe/unbind
    echo "domain:bus:dev.fn" > sys/kernel/config/xe/survivability_mode
    echo "domain:bus:dev.fn" > /sys/bus/pci/drivers/xe/bind
    
    Signed-off-by: Riana Tauro <riana.tauro at intel.com>
+ /mt/dim checkpatch 066c46f28642479869d2d1dd27cc6ae476de4abc drm-intel
1dde0ff4eddd RFC drm/xe: Add configfs to enable survivability mode
-:28: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#28: 
new file mode 100644

total: 0 errors, 1 warnings, 0 checks, 138 lines checked
48de3888a0a1 RFC drm/xe: Enable configfs support for survivability mode
-:48: CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'pdev->bus->number == bus'
#48: FILE: drivers/gpu/drm/xe/xe_configfs.c:45:
+	if ((pci_domain_nr(pdev->bus) == domain) && (pdev->bus->number == bus) &&
+	    (PCI_SLOT(pdev->devfn) == slot) && (PCI_FUNC(pdev->devfn) == function))

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




More information about the Intel-xe mailing list