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
5d0843da
Commit
5d0843da
authored
21 years ago
by
Daniele Bellucci
Committed by
Greg Kroah-Hartman
21 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] Audit and minor cleanups in usbstorage
parent
3b319365
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
drivers/usb/storage/usb.c
drivers/usb/storage/usb.c
+9
-6
No files found.
drivers/usb/storage/usb.c
View file @
5d0843da
...
@@ -1006,20 +1006,23 @@ static void storage_disconnect(struct usb_interface *intf)
...
@@ -1006,20 +1006,23 @@ static void storage_disconnect(struct usb_interface *intf)
* Initialization and registration
* Initialization and registration
***********************************************************************/
***********************************************************************/
int
__init
usb_stor_init
(
void
)
static
int
__init
usb_stor_init
(
void
)
{
{
int
retval
;
printk
(
KERN_INFO
"Initializing USB Mass Storage driver...
\n
"
);
printk
(
KERN_INFO
"Initializing USB Mass Storage driver...
\n
"
);
/* register the driver, return -1 if error */
/* register the driver, return usb_register return code if error */
if
(
usb_register
(
&
usb_storage_driver
)
<
0
)
retval
=
usb_register
(
&
usb_storage_driver
);
return
-
1
;
if
(
retval
)
goto
out
;
/* we're all set */
/* we're all set */
printk
(
KERN_INFO
"USB Mass Storage support registered.
\n
"
);
printk
(
KERN_INFO
"USB Mass Storage support registered.
\n
"
);
return
0
;
out:
return
retval
;
}
}
void
__exit
usb_stor_exit
(
void
)
static
void
__exit
usb_stor_exit
(
void
)
{
{
US_DEBUGP
(
"usb_stor_exit() called
\n
"
);
US_DEBUGP
(
"usb_stor_exit() called
\n
"
);
...
...
This diff is collapsed.
Click to expand it.
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