From: Tim Deegan Subject: Re: [PATCH] vvmx: fix intended assignment Date: Thu, 1 Dec 2011 15:43:13 +0000 Message-ID: <20111201154313.GG61203@ocelot.phlegethon.org> References: <4ED76A350200007800064ABD@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <4ED76A350200007800064ABD@nat28.tlf.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jan Beulich Cc: "xen-devel@lists.xensource.com" , Eddie Dong , Tim Deegan , qing.he@intel.com List-Id: xen-devel@lists.xenproject.org At 10:51 +0000 on 01 Dec (1322736677), Jan Beulich wrote: > From what I can tell, this was supposed to be an assignment (not warned > about by the compiler due to -Wno-unused, which is about to be removed). > > Signed-off-by: Jan Beulich > > --- a/xen/arch/x86/hvm/vmx/vvmx.c > +++ b/xen/arch/x86/hvm/vmx/vvmx.c > @@ -581,7 +581,7 @@ static void nvmx_purge_vvmcs(struct vcpu > __clear_current_vvmcs(v); > if ( nvcpu->nv_vvmcxaddr != VMCX_EADDR ) > hvm_unmap_guest_frame(nvcpu->nv_vvmcx); > - nvcpu->nv_vvmcx == NULL; > + nvcpu->nv_vvmcx = NULL; > nvcpu->nv_vvmcxaddr = VMCX_EADDR; > for (i=0; i<2; i++) { > if ( nvmx->iobitmap[i] ) { > > > Applied, thanks. Tim.