✓ CI.checkpatch: success for drm/xe: Fix build error for XE_IOCTL_DBG macro

Patchwork patchwork at emeril.freedesktop.org
Mon Oct 28 19:20:10 UTC 2024


== Series Details ==

Series: drm/xe: Fix build error for XE_IOCTL_DBG macro
URL   : https://patchwork.freedesktop.org/series/140594/
State : success

== 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 4af7c289c9f7e1318407a8cf81362ac022436550
Author: Gyeyoung Baek <gye976 at gmail.com>
Date:   Sun Oct 27 13:57:52 2024 +0900

    drm/xe: Fix build error for XE_IOCTL_DBG macro
    
    In the previous code, there is build error.
    if CONFIG_DRM_USE_DYNAMIC_DEBUG is set,
    'drm_dbg' function is replaced with '__dynamic_func_call_cls',
    which is replaced with a do while statement.
    
    The problem is that,
    XE_IOCTL_DBG uses this function for conditional expression.
    
    so I fix the expression to be compatible with the do while statement,
    by referring to "https://gcc.gnu.org/onlinedocs/gcc/Statement-Exprs.html".
    
    Signed-off-by: Gyeyoung Baek <gye976 at gmail.com>
+ /mt/dim checkpatch f21e568eed1e2d11e338b440ac2dd1c33fb9e7b1 drm-intel
4af7c289c9f7 drm/xe: Fix build error for XE_IOCTL_DBG macro
Use of uninitialized value in concatenation (.) or string at scripts/checkpatch.pl line 2029.




More information about the Intel-xe mailing list