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
Kirill Smelkov
linux
Commits
8737215d
Commit
8737215d
authored
Aug 25, 2004
by
Alexander Viro
Committed by
Linus Torvalds
Aug 25, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] warning fix in usb/gadget/inode.c
wrong type of return value.
parent
0adbc639
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/usb/gadget/inode.c
drivers/usb/gadget/inode.c
+2
-2
No files found.
drivers/usb/gadget/inode.c
View file @
8737215d
...
...
@@ -577,10 +577,10 @@ static int ep_aio_cancel(struct kiocb *iocb, struct io_event *e)
return
value
;
}
static
long
ep_aio_read_retry
(
struct
kiocb
*
iocb
)
static
ssize_t
ep_aio_read_retry
(
struct
kiocb
*
iocb
)
{
struct
kiocb_priv
*
priv
=
(
void
*
)
&
iocb
->
private
;
in
t
status
=
priv
->
actual
;
ssize_
t
status
=
priv
->
actual
;
/* we "retry" to get the right mm context for this: */
status
=
copy_to_user
(
priv
->
ubuf
,
priv
->
buf
,
priv
->
actual
);
...
...
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