✗ CI.checkpatch: warning for drm/exec, drm/gpuvm: Prefer u32 over uint32_t (rev2)

Patchwork patchwork at emeril.freedesktop.org
Mon Jan 22 13:25:15 UTC 2024


== Series Details ==

Series: drm/exec, drm/gpuvm: Prefer u32 over uint32_t (rev2)
URL   : https://patchwork.freedesktop.org/series/128973/
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
e7f730565356938dd6c63cd498218fdc5d6a22b0
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 56e4dd83872dd80e3e72724360022e20e7fad299
Author: Thomas Hellström <thomas.hellstrom at linux.intel.com>
Date:   Mon Jan 22 14:18:28 2024 +0100

    drm/exec, drm/gpuvm: Prefer u32 over uint32_t
    
    The relatively recently introduced drm/exec utility was using uint32_t
    in its interface, which was then also carried over to drm/gpuvm.
    
    Prefer u32 in new code and update drm/exec and drm/gpuvm accordingly.
    
    Cc: Christian König <christian.koenig at amd.com>
    Cc: Danilo Krummrich <dakr at redhat.com>
    Signed-off-by: Thomas Hellström <thomas.hellstrom at linux.intel.com>
    Reviewed-by: Christian König <christian.koenig at amd.com>
    Reviewed-by: Danilo Krummrich <dakr at redhat.com>
    Reviewed-by: Lucas De Marchi <lucas.demarchi at intel.com>
+ /mt/dim checkpatch aa09aa0293f752644c8c5d040e4a7af4e463627f drm-intel
56e4dd838 drm/exec, drm/gpuvm: Prefer u32 over uint32_t
-:30: WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#30: FILE: drivers/gpu/drm/drm_exec.c:79:
+void drm_exec_init(struct drm_exec *exec, u32 flags, unsigned nr)

-:52: WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#52: FILE: include/drm/drm_exec.h:138:
+void drm_exec_init(struct drm_exec *exec, u32 flags, unsigned nr);

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




More information about the Intel-xe mailing list