* [Qemu-devel] [PATCH] Fix build with stub USB backend
@ 2012-03-03 16:38 Nathan Whitehorn
2012-03-03 18:03 ` Andreas Färber
0 siblings, 1 reply; 2+ messages in thread
From: Nathan Whitehorn @ 2012-03-03 16:38 UTC (permalink / raw)
To: QEMU Developers
Recent changes to the signature of usb_host_device_open() have broken
the stub USB backend. This updates the stub version of
usb_host_device_open() to correspond to the new API.
Signed-off-by: Nathan Whitehorn <nwhitehorn@freebsd.org>
---
usb-stub.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/usb-stub.c b/usb-stub.c
index 9c3fcea..b4e10c1 100644
--- a/usb-stub.c
+++ b/usb-stub.c
@@ -41,7 +41,7 @@ void usb_host_info(Monitor *mon)
}
/* XXX: modify configure to compile the right host driver */
-USBDevice *usb_host_device_open(const char *devname)
+USBDevice *usb_host_device_open(USBBus *bus, const char *devname)
{
return NULL;
}
--
1.7.9
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [PATCH] Fix build with stub USB backend
2012-03-03 16:38 [Qemu-devel] [PATCH] Fix build with stub USB backend Nathan Whitehorn
@ 2012-03-03 18:03 ` Andreas Färber
0 siblings, 0 replies; 2+ messages in thread
From: Andreas Färber @ 2012-03-03 18:03 UTC (permalink / raw)
To: Nathan Whitehorn; +Cc: QEMU Developers
Am 03.03.2012 17:38, schrieb Nathan Whitehorn:
> Recent changes to the signature of usb_host_device_open() have broken
> the stub USB backend. This updates the stub version of
> usb_host_device_open() to correspond to the new API.
>
> Signed-off-by: Nathan Whitehorn <nwhitehorn@freebsd.org>
Looks like a duplicate, a similar patch was just applied.
Andreas
> ---
> usb-stub.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/usb-stub.c b/usb-stub.c
> index 9c3fcea..b4e10c1 100644
> --- a/usb-stub.c
> +++ b/usb-stub.c
> @@ -41,7 +41,7 @@ void usb_host_info(Monitor *mon)
> }
>
> /* XXX: modify configure to compile the right host driver */
> -USBDevice *usb_host_device_open(const char *devname)
> +USBDevice *usb_host_device_open(USBBus *bus, const char *devname)
> {
> return NULL;
> }
> --
> 1.7.9
--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-03-03 18:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-03 16:38 [Qemu-devel] [PATCH] Fix build with stub USB backend Nathan Whitehorn
2012-03-03 18:03 ` Andreas Färber
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).