diff options
author | Jason Wang <jasowang@redhat.com> | 2015-08-25 17:05:46 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-10-01 15:06:29 +0200 |
commit | d3febddde9c7a959dbb189a700e937db50fad4d6 (patch) | |
tree | 9869821f4df76e998a9b9c83cf8354a1b6e52cba /kernel/backtracetest.c | |
parent | 1c1a9ce973a7863dd46767226bce2a5f12d48bc6 (diff) | |
download | blackbird-op-linux-d3febddde9c7a959dbb189a700e937db50fad4d6.tar.gz blackbird-op-linux-d3febddde9c7a959dbb189a700e937db50fad4d6.zip |
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 'kernel/backtracetest.c')
0 files changed, 0 insertions, 0 deletions