Re: [PATCH 1/3] KVM: do not kfree error pointer

2012-11-13 Thread Marcelo Tosatti
On Fri, Nov 02, 2012 at 06:33:21PM +0800, Guo Chao wrote: > We should avoid kfree()ing error pointer in kvm_vcpu_ioctl() and > kvm_arch_vcpu_ioctl(). > > Signed-off-by: Guo Chao Applied all, thanks. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to ma

[PATCH 1/3] KVM: do not kfree error pointer

2012-11-02 Thread Guo Chao
We should avoid kfree()ing error pointer in kvm_vcpu_ioctl() and kvm_arch_vcpu_ioctl(). Signed-off-by: Guo Chao --- arch/x86/kvm/x86.c | 19 ++- virt/kvm/kvm_main.c |2 ++ 2 files changed, 8 insertions(+), 13 deletions(-) diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86