[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/amdgpu: Transfer fences to dmabuf importer

Patchwork patchwork at emeril.freedesktop.org
Tue Aug 7 11:01:24 UTC 2018


== Series Details ==

Series: drm/amdgpu: Transfer fences to dmabuf importer
URL   : https://patchwork.freedesktop.org/series/47803/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
dce1b6e891b2 drm/amdgpu: Transfer fences to dmabuf importer
-:56: WARNING:ALLOC_ARRAY_ARGS: kmalloc_array uses number as first arg, sizeof is generally wrong
#56: FILE: drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c:207:
+	fences = kmalloc_array(sizeof(*fences), count, GFP_KERNEL);

total: 0 errors, 1 warnings, 0 checks, 90 lines checked



More information about the Intel-gfx mailing list