From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:44346) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S21lL-0001cR-Q4 for qemu-devel@nongnu.org; Mon, 27 Feb 2012 09:41:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S21lI-00008q-UY for qemu-devel@nongnu.org; Mon, 27 Feb 2012 09:41:15 -0500 Received: from mx1.redhat.com ([209.132.183.28]:35391) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S21lI-00008h-MS for qemu-devel@nongnu.org; Mon, 27 Feb 2012 09:41:12 -0500 Message-ID: <4F4B9605.5030508@redhat.com> Date: Mon, 27 Feb 2012 15:41:09 +0100 From: Gerd Hoffmann MIME-Version: 1.0 References: <4F4B90C7.6030502@siemens.com> In-Reply-To: <4F4B90C7.6030502@siemens.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2] usb: Resolve warnings about unassigned bus on usb device creation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: qemu-devel On 02/27/12 15:18, Jan Kiszka wrote: > When creating an USB device the old way, there is no way to specify the > target bus. Thus the warning issued by usb_create makes no sense and > rather confuses our users. > > Resolve this by passing a bus reference to the usbdevice_init handler > and letting those handlers forward it to usb_create. Patch added to usb patch queue. thanks, Gerd