✗ CI.checkpatch: warning for drm/xe: Ensure 'passed' variable is always initialized

Patchwork patchwork at emeril.freedesktop.org
Tue Dec 19 03:36:23 UTC 2023


== Series Details ==

Series: drm/xe: Ensure 'passed' variable is always initialized
URL   : https://patchwork.freedesktop.org/series/127934/
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 b4c258acb227c662cdaa91476aff6294ded2c49e
Author: Rodrigo Vivi <rodrigo.vivi at intel.com>
Date:   Mon Dec 18 11:38:18 2023 -0500

    drm/xe: Ensure 'passed' variable is always initialized
    
    Although the path should be impossible, some static analyzers
    and compilers might not like the fact that there is a path
    where 'passed' variable is not initialized.
    
    Reported-by: kernel test robot <lkp at intel.com>
    Closes: https://lore.kernel.org/oe-kbuild-all/202312170357.KPSinwPs-lkp@intel.com/
    Fixes: ad7d86415578 ("drm/xe: Enable W=1 warnings by default")
    Cc: Lucas De Marchi <lucas.demarchi at intel.com>
    Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
    Reviewed-by: Matthew Brost <matthew.brost at intel.com>
+ /mt/dim checkpatch 84e5d706cb0c11f2948a9f16d9e31ad5256b641c drm-intel
b4c258acb drm/xe: Ensure 'passed' variable is always initialized
-:12: WARNING:UNKNOWN_COMMIT_ID: Unknown commit id 'ad7d86415578', maybe rebased or not pulled?
#12: 
Fixes: ad7d86415578 ("drm/xe: Enable W=1 warnings by default")

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




More information about the Intel-xe mailing list