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
3da64816
Commit
3da64816
authored
Jan 06, 2003
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] USB mdc800: forward port 2.4 fix for misuse of types.
Thanks to Dave Jones for pointing this out.
parent
a672a656
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/usb/image/mdc800.c
drivers/usb/image/mdc800.c
+2
-2
No files found.
drivers/usb/image/mdc800.c
View file @
3da64816
...
@@ -673,7 +673,7 @@ static int mdc800_device_release (struct inode* inode, struct file *file)
...
@@ -673,7 +673,7 @@ static int mdc800_device_release (struct inode* inode, struct file *file)
*/
*/
static
ssize_t
mdc800_device_read
(
struct
file
*
file
,
char
*
buf
,
size_t
len
,
loff_t
*
pos
)
static
ssize_t
mdc800_device_read
(
struct
file
*
file
,
char
*
buf
,
size_t
len
,
loff_t
*
pos
)
{
{
int
left
=
len
,
sts
=
len
;
/* single transfer size */
size_t
left
=
len
,
sts
=
len
;
/* single transfer size */
char
*
ptr
=
buf
;
char
*
ptr
=
buf
;
DECLARE_WAITQUEUE
(
wait
,
current
);
DECLARE_WAITQUEUE
(
wait
,
current
);
...
@@ -767,7 +767,7 @@ static ssize_t mdc800_device_read (struct file *file, char *buf, size_t len, lof
...
@@ -767,7 +767,7 @@ static ssize_t mdc800_device_read (struct file *file, char *buf, size_t len, lof
*/
*/
static
ssize_t
mdc800_device_write
(
struct
file
*
file
,
const
char
*
buf
,
size_t
len
,
loff_t
*
pos
)
static
ssize_t
mdc800_device_write
(
struct
file
*
file
,
const
char
*
buf
,
size_t
len
,
loff_t
*
pos
)
{
{
in
t
i
=
0
;
size_
t
i
=
0
;
DECLARE_WAITQUEUE
(
wait
,
current
);
DECLARE_WAITQUEUE
(
wait
,
current
);
down
(
&
mdc800
->
io_lock
);
down
(
&
mdc800
->
io_lock
);
...
...
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