summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorJason Wang <jasowang@redhat.com>2015-08-25 17:05:46 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2015-10-01 15:06:29 +0200
commitd3febddde9c7a959dbb189a700e937db50fad4d6 (patch)
tree9869821f4df76e998a9b9c83cf8354a1b6e52cba /samples
parent1c1a9ce973a7863dd46767226bce2a5f12d48bc6 (diff)
downloadop-kernel-dev-d3febddde9c7a959dbb189a700e937db50fad4d6.zip
op-kernel-dev-d3febddde9c7a959dbb189a700e937db50fad4d6.tar.gz
kvm: use kmalloc() instead of kzalloc() during iodev register/unregister
All fields of kvm_io_range were initialized or copied explicitly afterwards. So switch to use kmalloc(). Cc: Gleb Natapov <gleb@kernel.org> Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Jason Wang <jasowang@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud