mirror of https://gitee.com/openkylin/linux.git
ds1620: single_open() leak
Cc: stable@vger.kernel.org Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
c39b9fd728
commit
7485e16c52
|
@ -355,7 +355,7 @@ static const struct file_operations ds1620_proc_therm_fops = {
|
|||
.open = ds1620_proc_therm_open,
|
||||
.read = seq_read,
|
||||
.llseek = seq_lseek,
|
||||
.release = seq_release,
|
||||
.release = single_release,
|
||||
};
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue