[Intel-xe] ✗ CI.checkpatch: warning for Allow num_binds/num_batch_buffer to be zero IOCTLs (rev3)

Patchwork patchwork at emeril.freedesktop.org
Wed Dec 6 01:07:04 UTC 2023


== Series Details ==

Series: Allow num_binds/num_batch_buffer to be zero IOCTLs (rev3)
URL   : https://patchwork.freedesktop.org/series/126546/
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
6030b24c1386b00de8187b5fb987e283a57b372a
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 5ff1c1d7be33dbe383c0f38e6e3ab7806fad768a
Author: Matthew Brost <matthew.brost at intel.com>
Date:   Tue Dec 5 12:37:58 2023 -0800

    drm/xe: Take in-syncs into account when num_execs or num_binds == 0
    
    Wait on in-syncs before signaling out-syncs if num_execs or num_binds ==
    0 in execbuf IOCTL or VM bind IOCTL respectfully.
    
    v2: Wait on last fence in addition to in-fences (Thomas)
    
    Signed-off-by: Matthew Brost <matthew.brost at intel.com>
+ /mt/dim checkpatch 8833b1390068f7340259f5130c564cdadff5b189 drm-intel
2b10b781a drm/xe: Use a flags field instead of bools for VMA create
6b44d15e2 drm/xe: Use a flags field instead of bools for sync parse
ed59f5644 drm/xe: Allow num_binds == 0 in VM bind IOCTL
-:70: WARNING:ALLOC_WITH_MULTIPLY: Prefer kcalloc over kzalloc with multiply
#70: FILE: drivers/gpu/drm/xe/xe_vm.c:3031:
+		bos = kzalloc(sizeof(*bos) * args->num_binds, GFP_KERNEL);

total: 0 errors, 1 warnings, 0 checks, 78 lines checked
268d09a3a drm/xe: Allow num_batch_buffer == 0 in exec IOCTL
5ff1c1d7b drm/xe: Take in-syncs into account when num_execs or num_binds == 0




More information about the Intel-xe mailing list