diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-05-05 00:12:56 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-05-05 00:12:56 -0400 |
commit | 9b3a0a6f8ca7bdced15647a1ed5e07d86d58062c (patch) | |
tree | b37fb82e130a24bed823c095a189f9860ef6f4e8 /drivers/input | |
parent | 2e7718cf7f4111a67f7e74cb66d151345516e37e (diff) |
input: single_open() leak
Cc: stable@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/misc/hp_sdc_rtc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/misc/hp_sdc_rtc.c b/drivers/input/misc/hp_sdc_rtc.c index 770479df8657..86b822806e95 100644 --- a/drivers/input/misc/hp_sdc_rtc.c +++ b/drivers/input/misc/hp_sdc_rtc.c | |||
@@ -515,7 +515,7 @@ static const struct file_operations hp_sdc_rtc_proc_fops = { | |||
515 | .open = hp_sdc_rtc_proc_open, | 515 | .open = hp_sdc_rtc_proc_open, |
516 | .read = seq_read, | 516 | .read = seq_read, |
517 | .llseek = seq_lseek, | 517 | .llseek = seq_lseek, |
518 | .release = seq_release, | 518 | .release = single_release, |
519 | }; | 519 | }; |
520 | 520 | ||
521 | static int hp_sdc_rtc_ioctl(struct file *file, | 521 | static int hp_sdc_rtc_ioctl(struct file *file, |