diff options
| author | Bernard Zhao <[email protected]> | 2020-11-18 02:42:29 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-11-24 17:04:28 +0000 |
| 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 | kernel-b14a04fee90889b011509fe6ade1ddf93fdd9f49.tar.gz kernel-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 <[email protected]>
Signed-off-by: Bernard Zhao <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions
