[Intel-xe] ✗ CI.checkpatch: warning for series starting with [1/2] drm/xe/uc: Fix uC status tracking

Patchwork patchwork at emeril.freedesktop.org
Wed Aug 2 21:29:52 UTC 2023


== Series Details ==

Series: series starting with [1/2] drm/xe/uc: Fix uC status tracking
URL   : https://patchwork.freedesktop.org/series/121910/
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
c7d32770e3cd31d9fc134ce41f329b10aa33ee15
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit cbbc893169ebfd002401c8ffa1488e2145541d57
Author: Daniele Ceraolo Spurio <daniele.ceraolospurio at intel.com>
Date:   Wed Aug 2 14:26:46 2023 -0700

    drm/xe/uc: Add GuC/HuC firmware path overrides
    
    When testing a new binary and/or debugging binary-related issues, it is
    useful to have the option to change which binary is loaded without
    having to update and re-compile the kernel. To support this option, this
    patch adds 2 new modparams to override the FW path for GuC and HuC. The
    HuC modparam can also be set to an empty string to disable HuC loading.
    
    Note that those modparams only take effect on platforms where we already
    have a default FW, so we're sure there is support for FW loading and the
    kernel isn't going to explode in an undefined path.
    
    Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio at intel.com>
    Cc: John Harrison <John.C.Harrison at Intel.com>
    Cc: Matthew Brost <matthew.brost at intel.com>
+ /mt/dim checkpatch f16c04291100aa92caddd4d09e17b56bf7f4833c drm-intel
d28e0bbbd drm/xe/uc: Fix uC status tracking
cbbc89316 drm/xe/uc: Add GuC/HuC firmware path overrides
-:28: ERROR:GLOBAL_INITIALISERS: do not initialise globals to NULL
#28: FILE: drivers/gpu/drm/xe/xe_module.c:33:
+char *xe_guc_firmware_path = NULL;

-:33: ERROR:GLOBAL_INITIALISERS: do not initialise globals to NULL
#33: FILE: drivers/gpu/drm/xe/xe_module.c:38:
+char *xe_huc_firmware_path = NULL;

total: 2 errors, 0 warnings, 0 checks, 70 lines checked




More information about the Intel-xe mailing list