All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Reif <reif@earthlink.net>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] PATCH: fix usb-linux.c compile orror
Date: Sun, 28 Sep 2008 14:54:17 -0400	[thread overview]
Message-ID: <48DFD2D9.6060205@earthlink.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 783 bytes --]

This patch fixes the following compile error:

usb-linux.c: In function `usb_linux_update_endp_table':
usb-linux.c:777: error: structure has no member named `bRequestType'
usb-linux.c:778: error: structure has no member named `bRequest'
usb-linux.c:779: error: structure has no member named `wValue'
usb-linux.c:780: error: structure has no member named `wIndex'
usb-linux.c:781: error: structure has no member named `wLength'
usb-linux.c:818: error: structure has no member named `bRequestType'
usb-linux.c:819: error: structure has no member named `bRequest'
usb-linux.c:820: error: structure has no member named `wValue'
usb-linux.c:821: error: structure has no member named `wIndex'
usb-linux.c:822: error: structure has no member named `wLength'
make: *** [usb-linux.o] Error 1

[-- Attachment #2: usb.diff.txt --]
[-- Type: text/plain, Size: 313 bytes --]

--- usb-linux.c	(revision 5338)
+++ usb-linux.c	(working copy)
@@ -771,7 +771,7 @@
 {
     uint8_t *descriptors;
     uint8_t devep, type, configuration, alt_interface;
-    struct usbdevfs_ctrltransfer ct;
+    struct usb_ctrltransfer ct;
     int interface, ret, length, i;
 
     ct.bRequestType = USB_DIR_IN;

             reply	other threads:[~2008-09-28 18:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-28 18:54 Robert Reif [this message]
2008-09-29 16:13 ` [Qemu-devel] PATCH: fix usb-linux.c compile orror Anthony Liguori
2008-09-30  0:54   ` Robert Reif
2008-09-30  1:38     ` Anthony Liguori
2008-09-30 14:12       ` Vince Weaver
2008-09-30 14:54         ` Anthony Liguori
2008-09-30 22:31           ` Robert Reif

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48DFD2D9.6060205@earthlink.net \
    --to=reif@earthlink.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.