From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:38070) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SEduD-0000Ot-5z for qemu-devel@nongnu.org; Mon, 02 Apr 2012 05:50:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SEdu6-00063i-MO for qemu-devel@nongnu.org; Mon, 02 Apr 2012 05:50:32 -0400 Received: from cantor2.suse.de ([195.135.220.15]:40920 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SEdu6-00063S-FH for qemu-devel@nongnu.org; Mon, 02 Apr 2012 05:50:26 -0400 Message-ID: <4F797660.4070907@suse.de> Date: Mon, 02 Apr 2012 11:50:24 +0200 From: =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= MIME-Version: 1.0 References: <4F7948B2.4090100@cn.fujitsu.com> In-Reply-To: <4F7948B2.4090100@cn.fujitsu.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] use: fix bit test List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Lai Jiangshan , Gerd Hoffmann Cc: "qemu-devel@nongnu.org" Am 02.04.2012 08:35, schrieb Lai Jiangshan: >=20 > use & instead of the wrong && >=20 > Signed-off-by: Lai Jiangshan Patch looks okay but the subject should probably be fixed to say "usb:" when applying. :) Andreas > --- > diff --git a/hw/usb/hcd-xhci.c b/hw/usb/hcd-xhci.c > index 73b0c7f..89c2406 100644 > --- a/hw/usb/hcd-xhci.c > +++ b/hw/usb/hcd-xhci.c > @@ -502,7 +502,7 @@ static void xhci_irq_update(XHCIState *xhci) > int level =3D 0; > =20 > if (xhci->iman & IMAN_IP && xhci->iman & IMAN_IE && > - xhci->usbcmd && USBCMD_INTE) { > + xhci->usbcmd & USBCMD_INTE) { > level =3D 1; > } > =20 --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=C3=BCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=C3=B6rffer; HRB 16746 AG N=C3=BC= rnberg