aboutsummaryrefslogtreecommitdiff
path: root/mm/util.c
diff options
context:
space:
mode:
authorGravatar Paolo Bonzini <pbonzini@redhat.com> 2022-03-08 04:57:39 -0500
committerGravatar Paolo Bonzini <pbonzini@redhat.com> 2022-03-21 09:28:41 -0400
commitc9b8fecddb5bb4b67e351bbaeaa648a6f7456912 (patch)
tree0d798042d2cc2167c43520e25b7ed831a4f87660 /mm/util.c
parentKVM: x86: Introduce KVM_CAP_DISABLE_QUIRKS2 (diff)
downloadlinux-c9b8fecddb5bb4b67e351bbaeaa648a6f7456912.tar.gz
linux-c9b8fecddb5bb4b67e351bbaeaa648a6f7456912.tar.bz2
linux-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 <pbonzini@redhat.com>
Diffstat (limited to 'mm/util.c')
0 files changed, 0 insertions, 0 deletions