diff options
author | Sasha Levin <levinsasha928@gmail.com> | 2011-12-04 18:36:28 +0100 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-12-27 10:22:20 +0100 |
commit | cdfca7b346e6dbab1ba33260c28ccb8333485a5b (patch) | |
tree | 423d4487ee5604a69943e8daade01fbec1879ef6 /kernel/crash_dump.c | |
parent | KVM: Document KVM_NMI (diff) | |
download | linux-cdfca7b346e6dbab1ba33260c28ccb8333485a5b.tar.xz linux-cdfca7b346e6dbab1ba33260c28ccb8333485a5b.zip |
KVM: Use kmemdup() instead of kmalloc/memcpy
Switch to kmemdup() in two places to shorten the code and avoid possible bugs.
Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'kernel/crash_dump.c')
0 files changed, 0 insertions, 0 deletions