✗ CI.checkpatch: warning for drm/xe: Check return values of functions in xe_gt_shutdown() (rev3)

Patchwork patchwork at emeril.freedesktop.org
Thu Sep 26 18:25:42 UTC 2024


== Series Details ==

Series: drm/xe: Check return values of functions in xe_gt_shutdown() (rev3)
URL   : https://patchwork.freedesktop.org/series/138916/
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
30ab6715fc09baee6cc14cb3c89ad8858688d474
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit f342f004dcef79e3ba4b28e0469520dc6a62e233
Author: Apoorva Singh <apoorva.singh at intel.com>
Date:   Thu Sep 26 16:30:26 2024 +0530

    drm/xe: Check return values of functions in xe_gt_shutdown()
    
    Check the return values of the functions xe_force_wake_get()
    and xe_force_wake_put() to prevent mistakenly treating them as
    void returns.
    
    Cc: Himal Prasad Ghimiray <himal.prasad.ghimiray at intel.com>
    Signed-off-by: Apoorva Singh <apoorva.singh at intel.com>
    Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray at intel.com>
+ /mt/dim checkpatch f82c02cc01798312082cc41feaa473538e517c7b drm-intel
f342f004dcef drm/xe: Check return values of functions in xe_gt_shutdown()
-:24: WARNING:LINE_SPACING: Missing a blank line after declarations
#24: FILE: drivers/gpu/drm/xe/xe_gt.c:893:
+	int err;
+	err = xe_force_wake_get(gt_to_fw(gt), XE_FORCEWAKE_ALL);

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




More information about the Intel-xe mailing list