✗ CI.checkpatch: warning for series starting with [1/3] drm/xe/guc: Prefer GT oriented logs in GuC CTB code

Patchwork patchwork at emeril.freedesktop.org
Thu Apr 4 20:05:56 UTC 2024


== Series Details ==

Series: series starting with [1/3] drm/xe/guc: Prefer GT oriented logs in GuC CTB code
URL   : https://patchwork.freedesktop.org/series/132049/
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
10b531c2aeb176a1a539b4a77216232f97719cec
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit b4538216706d6d85dbcda6c848d0a908408d6f27
Author: Michal Wajdeczko <michal.wajdeczko at intel.com>
Date:   Thu Apr 4 21:36:47 2024 +0200

    drm/xe/guc: Don't overuse ct_to_xe()
    
    Pointer to xe_device might be already available or could be added.
    
    Signed-off-by: Michal Wajdeczko <michal.wajdeczko at intel.com>
+ /mt/dim checkpatch 7392b2b6f33eb4d279abf14e33e73f491f7f9191 drm-intel
052cc8fe77ed drm/xe/guc: Prefer GT oriented logs in GuC CTB code
36fc699c239a drm/xe/guc: Prefer GT oriented asserts in CTB code
b4538216706d drm/xe/guc: Don't overuse ct_to_xe()
-:21: CHECK:COMPARISON_TO_NULL: Comparison to NULL could be written "!xe_pm_read_callback_task"
#21: FILE: drivers/gpu/drm/xe/xe_guc_ct.c:1214:
+	if (!ongoing && xe_pm_read_callback_task(xe) == NULL)

-:40: CHECK:COMPARISON_TO_NULL: Comparison to NULL could be written "!xe_pm_read_callback_task"
#40: FILE: drivers/gpu/drm/xe/xe_guc_ct.c:1286:
+	if (!ongoing && xe_pm_read_callback_task(xe) == NULL)

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




More information about the Intel-xe mailing list