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
18f49e88
Commit
18f49e88
authored
Dec 08, 2003
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] USB: fix up compiler warning in usblp driver caused by previous patches.
parent
4c15dcb4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
drivers/usb/class/usblp.c
drivers/usb/class/usblp.c
+6
-2
No files found.
drivers/usb/class/usblp.c
View file @
18f49e88
...
...
@@ -673,8 +673,12 @@ static ssize_t usblp_write(struct file *file, const char __user *buffer, size_t
usblp
->
writeurb
->
dev
=
usblp
->
dev
;
usblp
->
wcomplete
=
0
;
if
(
err
=
usb_submit_urb
(
usblp
->
writeurb
,
GFP_KERNEL
))
{
count
=
err
!=
-
ENOMEM
?
-
EIO
:
(
writecount
?
writecount
:
-
ENOMEM
);
err
=
usb_submit_urb
(
usblp
->
writeurb
,
GFP_KERNEL
);
if
(
err
)
{
if
(
err
!=
-
ENOMEM
)
count
=
-
EIO
;
else
count
=
writecount
?
writecount
:
-
ENOMEM
;
up
(
&
usblp
->
sem
);
break
;
}
...
...
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