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
7604f3de
Commit
7604f3de
authored
Aug 26, 2003
by
Daniele Bellucci
Committed by
Greg Kroah-Hartman
Aug 26, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] ...more usb audit
- audit hiddev_init in hid_init - audit usb_register in hid_init
parent
28ff9cc6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
drivers/usb/input/hid-core.c
drivers/usb/input/hid-core.c
+11
-2
No files found.
drivers/usb/input/hid-core.c
View file @
7604f3de
...
...
@@ -1691,11 +1691,20 @@ static struct usb_driver hid_driver = {
static
int
__init
hid_init
(
void
)
{
hiddev_init
();
usb_register
(
&
hid_driver
);
int
retval
;
retval
=
hiddev_init
();
if
(
retval
)
goto
hiddev_init_fail
;
retval
=
usb_register
(
&
hid_driver
);
if
(
retval
)
goto
usb_register_fail
;
info
(
DRIVER_VERSION
":"
DRIVER_DESC
);
return
0
;
usb_register_fail:
hiddev_exit
();
hiddev_init_fail:
return
retval
;
}
static
void
__exit
hid_exit
(
void
)
...
...
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