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
2e7718cf
Commit
2e7718cf
authored
May 05, 2013
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rtc: single_open() leaks
Cc: stable@vger.kernel.org Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
7485e16c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
drivers/char/efirtc.c
drivers/char/efirtc.c
+1
-1
drivers/char/genrtc.c
drivers/char/genrtc.c
+1
-1
No files found.
drivers/char/efirtc.c
View file @
2e7718cf
...
@@ -369,7 +369,7 @@ static const struct file_operations efi_rtc_proc_fops = {
...
@@ -369,7 +369,7 @@ static const struct file_operations efi_rtc_proc_fops = {
.
open
=
efi_rtc_proc_open
,
.
open
=
efi_rtc_proc_open
,
.
read
=
seq_read
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
.
llseek
=
seq_lseek
,
.
release
=
s
eq
_release
,
.
release
=
s
ingle
_release
,
};
};
static
int
__init
static
int
__init
...
...
drivers/char/genrtc.c
View file @
2e7718cf
...
@@ -465,7 +465,7 @@ static const struct file_operations gen_rtc_proc_fops = {
...
@@ -465,7 +465,7 @@ static const struct file_operations gen_rtc_proc_fops = {
.
open
=
gen_rtc_proc_open
,
.
open
=
gen_rtc_proc_open
,
.
read
=
seq_read
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
.
llseek
=
seq_lseek
,
.
release
=
s
eq
_release
,
.
release
=
s
ingle
_release
,
};
};
static
int
__init
gen_rtc_proc_init
(
void
)
static
int
__init
gen_rtc_proc_init
(
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