From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LcjHg-00029i-GT for qemu-devel@nongnu.org; Thu, 26 Feb 2009 11:40:28 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LcjHf-00028k-1I for qemu-devel@nongnu.org; Thu, 26 Feb 2009 11:40:28 -0500 Received: from [199.232.76.173] (port=34395 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LcjHe-00028Z-Gx for qemu-devel@nongnu.org; Thu, 26 Feb 2009 11:40:26 -0500 Received: from e3.ny.us.ibm.com ([32.97.182.143]:50598) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LcjHc-0006vh-QL for qemu-devel@nongnu.org; Thu, 26 Feb 2009 11:40:25 -0500 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234]) by e3.ny.us.ibm.com (8.13.1/8.13.1) with ESMTP id n1QGbsFh018058 for ; Thu, 26 Feb 2009 11:37:54 -0500 Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [9.56.224.217]) by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n1QGeNCs143920 for ; Thu, 26 Feb 2009 11:40:23 -0500 Received: from d01av03.pok.ibm.com (loopback [127.0.0.1]) by d01av03.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n1QGeMFW023888 for ; Thu, 26 Feb 2009 11:40:22 -0500 Received: from squirrel.codemonkey.ws (dyn9053041157.austin.ibm.com [9.53.41.157]) by d01av03.pok.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id n1QGeMAq023877 for ; Thu, 26 Feb 2009 11:40:22 -0500 Message-ID: <49A6C5F6.8090401@us.ibm.com> Date: Thu, 26 Feb 2009 10:40:22 -0600 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] fix pci net hot-remove References: <20090220002144.GA1489@amt.cnet> In-Reply-To: <20090220002144.GA1489@amt.cnet> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Marcelo Tosatti wrote: > Missing brackets, doh. > Applied. Thanks. Regards, Anthony Liguori > Signed-off-by: Marcelo Tosatti > > Index: hw/device-hotplug.c > =================================================================== > --- hw/device-hotplug.c (revision 6618) > +++ hw/device-hotplug.c (working copy) > @@ -51,7 +51,7 @@ > int i; > NICInfo *nic; > > - for (i = 0; i < MAX_NICS; i++) > + for (i = 0; i < MAX_NICS; i++) { > nic = &nd_table[i]; > if (nic->used) { > if (nic->private && match_fn(nic->private, arg)) { > @@ -64,6 +64,7 @@ > net_client_uninit(nic); > } > } > + } > } > > void destroy_bdrvs(dev_match_fn *match_fn, void *arg) > > > >