✓ CI.checkpatch: success for drm/xe/uapi: restructure query config types in an enum

Patchwork patchwork at emeril.freedesktop.org
Mon Jul 29 11:16:51 UTC 2024


== Series Details ==

Series: drm/xe/uapi: restructure query config types in an enum
URL   : https://patchwork.freedesktop.org/series/136611/
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
5ce3e132caaa5b45e5e50201b574a097d130967c
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 7e2a422b75e0f535d2c146933dba6e6c0942f39b
Author: Ohad Sharabi <osharabi at habana.ai>
Date:   Mon Jul 29 13:57:31 2024 +0300

    drm/xe/uapi: restructure query config types in an enum
    
    The config query has entries per config type.
    
    In query_config(), an array is allocated using the last element of
    the query config to dictate the array length.
    
    Instead, a more robust approach would be to use the standard "number of
    elements" last element of an enum such that one wouldn't need to modify
    the ioctl each time another entry is added.
    
    Signed-off-by: Ohad Sharabi <osharabi at habana.ai>
+ /mt/dim checkpatch 6f226dd91cbd83b14b375dac4246f617f0b98288 drm-intel
7e2a422b75e0 drm/xe/uapi: restructure query config types in an enum




More information about the Intel-xe mailing list