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
962a1ab2
Commit
962a1ab2
authored
May 05, 2013
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gadget: single_open() leaks
Cc: stable@vger.kernel.org Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
bae301d3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
drivers/usb/gadget/fsl_udc_core.c
drivers/usb/gadget/fsl_udc_core.c
+1
-1
drivers/usb/gadget/goku_udc.c
drivers/usb/gadget/goku_udc.c
+1
-1
No files found.
drivers/usb/gadget/fsl_udc_core.c
View file @
962a1ab2
...
@@ -2211,7 +2211,7 @@ static const struct file_operations fsl_proc_fops = {
...
@@ -2211,7 +2211,7 @@ static const struct file_operations fsl_proc_fops = {
.
open
=
fsl_proc_open
,
.
open
=
fsl_proc_open
,
.
read
=
seq_read
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
.
llseek
=
seq_lseek
,
.
release
=
s
eq
_release
,
.
release
=
s
ingle
_release
,
};
};
#define create_proc_file() proc_create(proc_filename, 0, NULL, &fsl_proc_fops)
#define create_proc_file() proc_create(proc_filename, 0, NULL, &fsl_proc_fops)
...
...
drivers/usb/gadget/goku_udc.c
View file @
962a1ab2
...
@@ -1214,7 +1214,7 @@ static const struct file_operations udc_proc_fops = {
...
@@ -1214,7 +1214,7 @@ static const struct file_operations udc_proc_fops = {
.
open
=
udc_proc_open
,
.
open
=
udc_proc_open
,
.
read
=
seq_read
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
.
llseek
=
seq_lseek
,
.
release
=
s
eq
_release
,
.
release
=
s
ingle
_release
,
};
};
#endif
/* CONFIG_USB_GADGET_DEBUG_FILES */
#endif
/* CONFIG_USB_GADGET_DEBUG_FILES */
...
...
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