✓ CI.checkpatch: success for drm/xe: Fix build error for XE_IOCTL_DBG macro (rev2)
Patchwork
patchwork at emeril.freedesktop.org
Tue Oct 29 06:19:22 UTC 2024
== Series Details ==
Series: drm/xe: Fix build error for XE_IOCTL_DBG macro (rev2)
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 774c5db879794eb5ef105d806aa88be2a2d6a122
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 79811c7809c46a23b7cfceaf36d4994792c850da drm-intel
774c5db87979 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