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
79477b6b
Commit
79477b6b
authored
Dec 08, 2004
by
Greg Kroah-Hartman
Committed by
Linus Torvalds
Dec 08, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
USB: fix sparse warnings in sl811-hcd driver.
Signed-off-by:
Greg Kroah-Hartman
<
greg@kroah.com
>
parent
d3e8ea41
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/usb/host/sl811-hcd.c
drivers/usb/host/sl811-hcd.c
+2
-2
No files found.
drivers/usb/host/sl811-hcd.c
View file @
79477b6b
...
@@ -577,7 +577,7 @@ done(struct sl811 *sl811, struct sl811h_ep *ep, u8 bank, struct pt_regs *regs)
...
@@ -577,7 +577,7 @@ done(struct sl811 *sl811, struct sl811h_ep *ep, u8 bank, struct pt_regs *regs)
urb
->
status
=
urbstat
;
urb
->
status
=
urbstat
;
spin_unlock
(
&
urb
->
lock
);
spin_unlock
(
&
urb
->
lock
);
req
=
0
;
req
=
NULL
;
ep
->
nextpid
=
USB_PID_ACK
;
ep
->
nextpid
=
USB_PID_ACK
;
}
}
break
;
break
;
...
@@ -1151,7 +1151,7 @@ sl811h_hub_descriptor (
...
@@ -1151,7 +1151,7 @@ sl811h_hub_descriptor (
/* no overcurrent errors detection/handling */
/* no overcurrent errors detection/handling */
temp
|=
0x0010
;
temp
|=
0x0010
;
desc
->
wHubCharacteristics
=
cpu_to_le16
(
temp
);
desc
->
wHubCharacteristics
=
(
__force
__u16
)
cpu_to_le16
(
temp
);
/* two bitmaps: ports removable, and legacy PortPwrCtrlMask */
/* two bitmaps: ports removable, and legacy PortPwrCtrlMask */
desc
->
bitmap
[
0
]
=
1
<<
1
;
desc
->
bitmap
[
0
]
=
1
<<
1
;
...
...
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