Commit a81ecc16 authored by Al Viro's avatar Al Viro

h8300: single_open() leaks

Cc: stable@vger.kernel.org
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent f42787df
...@@ -161,7 +161,7 @@ static const struct file_operations gpio_proc_fops = { ...@@ -161,7 +161,7 @@ static const struct file_operations gpio_proc_fops = {
.open = gpio_proc_open, .open = gpio_proc_open,
.read = seq_read, .read = seq_read,
.llseek = seq_lseek, .llseek = seq_lseek,
.release = seq_release, .release = single_release,
}; };
static __init int register_proc(void) static __init int register_proc(void)
......
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