Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
9d02c2be
Commit
9d02c2be
authored
Jun 10, 2003
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] USB: lots of sparse fixups for usbfs
parent
872b2a59
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
55 additions
and
55 deletions
+55
-55
drivers/usb/core/devio.c
drivers/usb/core/devio.c
+51
-51
include/linux/usbdevice_fs.h
include/linux/usbdevice_fs.h
+4
-4
No files found.
drivers/usb/core/devio.c
View file @
9d02c2be
This diff is collapsed.
Click to expand it.
include/linux/usbdevice_fs.h
View file @
9d02c2be
...
...
@@ -46,14 +46,14 @@ struct usbdevfs_ctrltransfer {
__u16
wIndex
;
__u16
wLength
;
__u32
timeout
;
/* in milliseconds */
void
*
data
;
void
__user
*
data
;
};
struct
usbdevfs_bulktransfer
{
unsigned
int
ep
;
unsigned
int
len
;
unsigned
int
timeout
;
/* in milliseconds */
void
*
data
;
void
__user
*
data
;
};
struct
usbdevfs_setinterface
{
...
...
@@ -97,7 +97,7 @@ struct usbdevfs_urb {
unsigned
char
endpoint
;
int
status
;
unsigned
int
flags
;
void
*
buffer
;
void
__user
*
buffer
;
int
buffer_length
;
int
actual_length
;
int
start_frame
;
...
...
@@ -113,7 +113,7 @@ struct usbdevfs_ioctl {
int
ifno
;
/* interface 0..N ; negative numbers reserved */
int
ioctl_code
;
/* MUST encode size + direction of data so the
* macros in <asm/ioctl.h> give correct values */
void
*
data
;
/* param buffer (in, or out) */
void
__user
*
data
;
/* param buffer (in, or out) */
};
/* You can do most things with hubs just through control messages,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment