Message ID | 20160623110829.22671-1-anthony.perard@citrix.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 23/06/16 13:08, Anthony PERARD wrote: > Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> Reviewed-by: Juergen Gross <jgross@suse.com> > --- > hw/usb/xen-usb.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/hw/usb/xen-usb.c b/hw/usb/xen-usb.c > index 0fd34c6..7bed0ce 100644 > --- a/hw/usb/xen-usb.c > +++ b/hw/usb/xen-usb.c > @@ -253,7 +253,8 @@ static int usbback_init_packet(struct usbback_req *usbback_req) > > case USBIF_PIPE_TYPE_CTRL: > packet->parameter = *(uint64_t *)usbback_req->req.u.ctrl; > - TR_REQ(xendev, "ctrl parameter: %lx, buflen: %x\n", packet->parameter, > + TR_REQ(xendev, "ctrl parameter: %"PRIx64", buflen: %x\n", > + packet->parameter, > usbback_req->req.buffer_length); > break; > >
On Thu, 23 Jun 2016, Juergen Gross wrote: > On 23/06/16 13:08, Anthony PERARD wrote: > > Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> > > Reviewed-by: Juergen Gross <jgross@suse.com> Added to my queue > > --- > > hw/usb/xen-usb.c | 3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > diff --git a/hw/usb/xen-usb.c b/hw/usb/xen-usb.c > > index 0fd34c6..7bed0ce 100644 > > --- a/hw/usb/xen-usb.c > > +++ b/hw/usb/xen-usb.c > > @@ -253,7 +253,8 @@ static int usbback_init_packet(struct usbback_req *usbback_req) > > > > case USBIF_PIPE_TYPE_CTRL: > > packet->parameter = *(uint64_t *)usbback_req->req.u.ctrl; > > - TR_REQ(xendev, "ctrl parameter: %lx, buflen: %x\n", packet->parameter, > > + TR_REQ(xendev, "ctrl parameter: %"PRIx64", buflen: %x\n", > > + packet->parameter, > > usbback_req->req.buffer_length); > > break; > > > > > >
diff --git a/hw/usb/xen-usb.c b/hw/usb/xen-usb.c index 0fd34c6..7bed0ce 100644 --- a/hw/usb/xen-usb.c +++ b/hw/usb/xen-usb.c @@ -253,7 +253,8 @@ static int usbback_init_packet(struct usbback_req *usbback_req) case USBIF_PIPE_TYPE_CTRL: packet->parameter = *(uint64_t *)usbback_req->req.u.ctrl; - TR_REQ(xendev, "ctrl parameter: %lx, buflen: %x\n", packet->parameter, + TR_REQ(xendev, "ctrl parameter: %"PRIx64", buflen: %x\n", + packet->parameter, usbback_req->req.buffer_length); break;
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> --- hw/usb/xen-usb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)