Commit 9b3a0a6f authored by Al Viro's avatar Al Viro

input: single_open() leak

Cc: stable@vger.kernel.org
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 2e7718cf
...@@ -515,7 +515,7 @@ static const struct file_operations hp_sdc_rtc_proc_fops = { ...@@ -515,7 +515,7 @@ static const struct file_operations hp_sdc_rtc_proc_fops = {
.open = hp_sdc_rtc_proc_open, .open = hp_sdc_rtc_proc_open,
.read = seq_read, .read = seq_read,
.llseek = seq_lseek, .llseek = seq_lseek,
.release = seq_release, .release = single_release,
}; };
static int hp_sdc_rtc_ioctl(struct file *file, static int hp_sdc_rtc_ioctl(struct file *file,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment