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
6531ab0c
Commit
6531ab0c
authored
May 29, 2003
by
Christoph Hellwig
Committed by
Greg Kroah-Hartman
May 29, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] use second arg to scsi_add_host in usb storage
That way we don't need the addition scsi_set_device call.
parent
ebf2d924
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
drivers/usb/storage/usb.c
drivers/usb/storage/usb.c
+1
-4
No files found.
drivers/usb/storage/usb.c
View file @
6531ab0c
...
...
@@ -886,11 +886,8 @@ static int storage_probe(struct usb_interface *intf,
/* set the hostdata to prepare for scanning */
us
->
host
->
hostdata
[
0
]
=
(
unsigned
long
)
us
;
/* associate this host with our interface */
scsi_set_device
(
us
->
host
,
&
intf
->
dev
);
/* now add the host */
result
=
scsi_add_host
(
us
->
host
,
NULL
);
result
=
scsi_add_host
(
us
->
host
,
&
intf
->
dev
);
if
(
result
)
{
printk
(
KERN_WARNING
USB_STORAGE
"Unable to add the scsi host
\n
"
);
...
...
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