✗ CI.checkpatch: warning for drm/xe: Fix warning on impossible condition

Patchwork patchwork at emeril.freedesktop.org
Mon Dec 18 21:14:44 UTC 2023


== Series Details ==

Series: drm/xe: Fix warning on impossible condition
URL   : https://patchwork.freedesktop.org/series/127932/
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
6030b24c1386b00de8187b5fb987e283a57b372a
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 387f0c21dad253f97d0346d4c57ae2dba440c373
Author: Lucas De Marchi <lucas.demarchi at intel.com>
Date:   Mon Dec 18 08:33:01 2023 -0800

    drm/xe: Fix warning on impossible condition
    
    Having a different value for op is not possible: this is already kept
    out of user-visible warning by the check in xe_wait_user_fence_ioctl()
    if op > MAX_OP. The warning is useful as if this switch() is not update
    when a new op is added, it should be triggered.
    
    Fix warning as reported by 0-DAY CI Kernel:
    
            drivers/gpu/drm/xe/xe_wait_user_fence.c:46:2: warning: variable 'passed' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized]
    
    Closes: https://lore.kernel.org/oe-kbuild-all/202312170357.KPSinwPs-lkp@intel.com/
    Fixes: dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel GPUs")
    Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
+ /mt/dim checkpatch 16f9e14e9101e3250294fc3ccb0acb35cd75532d drm-intel
387f0c21d drm/xe: Fix warning on impossible condition
-:16: WARNING:UNKNOWN_COMMIT_ID: Unknown commit id 'dd08ebf6c352', maybe rebased or not pulled?
#16: 
Fixes: dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel GPUs")

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




More information about the Intel-xe mailing list