diff options
| author | 2020-11-17 18:42:29 -0800 | |
|---|---|---|
| committer | 2020-11-24 12:04:28 -0500 | |
| commit | b14a04fee90889b011509fe6ade1ddf93fdd9f49 (patch) | |
| tree | 99d06246c7ed24ac6505eb567bbf326f2efb8643 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | drm/amdgpu/vcn3.0: add software ring share memory support (diff) | |
| download | linux-dev-b14a04fee90889b011509fe6ade1ddf93fdd9f49.tar.xz linux-dev-b14a04fee90889b011509fe6ade1ddf93fdd9f49.zip | |
amdgpu/amdgpu_ids: fix kmalloc_array not uses number as first arg
Fix check_patch.pl warning:
kmalloc_array uses number as first arg, sizeof is generally wrong.
+fences = kmalloc_array(sizeof(void *), id_mgr->num_ids,
GFP_KERNEL);
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Bernard Zhao <bernard@vivo.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions
