From: "Jan Beulich" Subject: [PATCH] vvmx: fix intended assignment Date: Thu, 01 Dec 2011 10:51:17 +0000 Message-ID: <4ED76A350200007800064ABD@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__Part98B70C35.2__=" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "xen-devel@lists.xensource.com" Cc: Eddie Dong , Tim Deegan , qing.he@intel.com List-Id: xen-devel@lists.xenproject.org This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__Part98B70C35.2__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline >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 !=3D VMCX_EADDR ) hvm_unmap_guest_frame(nvcpu->nv_vvmcx); - nvcpu->nv_vvmcx =3D=3D NULL; + nvcpu->nv_vvmcx =3D NULL; nvcpu->nv_vvmcxaddr =3D VMCX_EADDR; for (i=3D0; i<2; i++) { if ( nvmx->iobitmap[i] ) { --=__Part98B70C35.2__= Content-Type: text/plain; name="vvmx-fix-23526.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="vvmx-fix-23526.patch" vvmx: fix intended assignment=0A=0AFrom what I can tell, this was supposed = to be an assignment (not warned=0Aabout by the compiler due to -Wno-unused,= which is about to be removed).=0A=0ASigned-off-by: Jan Beulich =0A=0A--- a/xen/arch/x86/hvm/vmx/vvmx.c=0A+++ b/xen/arch/x86/hvm/vm= x/vvmx.c=0A@@ -581,7 +581,7 @@ static void nvmx_purge_vvmcs(struct vcpu=0A = __clear_current_vvmcs(v);=0A if ( nvcpu->nv_vvmcxaddr !=3D = VMCX_EADDR )=0A hvm_unmap_guest_frame(nvcpu->nv_vvmcx);=0A- = nvcpu->nv_vvmcx =3D=3D NULL;=0A+ nvcpu->nv_vvmcx =3D NULL;=0A = nvcpu->nv_vvmcxaddr =3D VMCX_EADDR;=0A for (i=3D0; i<2; i++) {=0A = if ( nvmx->iobitmap[i] ) {=0A --=__Part98B70C35.2__= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=__Part98B70C35.2__=--