Tag: 6da64fdb8c0c683016b70c96200057347aa8fbb0

KVM: Use kmemdup rather than duplicating its implementation

Author: Thomas Meyer <thomas@m3y3r.de> Use kmemdup rather than duplicating its implementation The semantic patch that makes this change is available in scripts/coccinelle/api/memdup.cocci. More information about semantic patching is available at http://coccinelle.lip6.fr/ Signed-off-by: Thomas Meyer Signed-off-by: Marcelo Tosatti — virt/kvm/kvm_main.c | 11 +++++—— 1 file changed, 5 insertions(+), 6 deletions(-)   diff –git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index …

Lire la suite