commit | 8b6d44c7bde7f927b7b70e9f56c22c66c0066277 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@ftp.linux.org.uk> | Fri Feb 09 16:38:40 2007 +0000 |
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | Fri Feb 09 09:14:07 2007 -0800 |
tree | 7246847130b1768908c7c87fef2dc99028e29300 | |
parent | 5b71bddb78df5e292ae90f7603a996e51b3ecb88 [diff] [blame] |
[PATCH] kvm: NULL noise removal Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
diff --git a/drivers/kvm/vmx.c b/drivers/kvm/vmx.c index 54c35c0..27e05a7 100644 --- a/drivers/kvm/vmx.c +++ b/drivers/kvm/vmx.c
@@ -98,7 +98,7 @@ for (i = 0; i < vcpu->nmsrs; ++i) if (vcpu->guest_msrs[i].index == msr) return &vcpu->guest_msrs[i]; - return 0; + return NULL; } static void vmcs_clear(struct vmcs *vmcs)