diff options
| author | Paolo Bonzini <[email protected]> | 2022-03-08 09:57:39 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2022-03-21 13:28:41 +0000 |
| commit | c9b8fecddb5bb4b67e351bbaeaa648a6f7456912 (patch) | |
| tree | 0d798042d2cc2167c43520e25b7ed831a4f87660 /drivers/gpu/drm/amd/amdgpu/amdgpu_benchmark.c | |
| parent | KVM: x86: Introduce KVM_CAP_DISABLE_QUIRKS2 (diff) | |
| download | kernel-c9b8fecddb5bb4b67e351bbaeaa648a6f7456912.tar.gz kernel-c9b8fecddb5bb4b67e351bbaeaa648a6f7456912.zip | |
KVM: use kvcalloc for array allocations
Instead of using array_size, use a function that takes care of the
multiplication. While at it, switch to kvcalloc since this allocation
should not be very large.
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_benchmark.c')
0 files changed, 0 insertions, 0 deletions
