diff options
author | Sasha Levin <levinsasha928@gmail.com> | 2011-12-04 19:36:28 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-12-27 11:22:20 +0200 |
commit | cdfca7b346e6dbab1ba33260c28ccb8333485a5b (patch) | |
tree | 423d4487ee5604a69943e8daade01fbec1879ef6 /Kbuild | |
parent | 3f745f1e224e05e845a15760a55f3fd323f7a753 (diff) |
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 'Kbuild')
0 files changed, 0 insertions, 0 deletions