Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 962a1ab2 authored by Al Viro's avatar Al Viro
Browse files

gadget: single_open() leaks



Cc: stable@vger.kernel.org
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent bae301d3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2211,7 +2211,7 @@ static const struct file_operations fsl_proc_fops = {
	.open		= fsl_proc_open,
	.read		= seq_read,
	.llseek		= seq_lseek,
	.release	= seq_release,
	.release	= single_release,
};

#define create_proc_file()	proc_create(proc_filename, 0, NULL, &fsl_proc_fops)
+1 −1
Original line number Diff line number Diff line
@@ -1214,7 +1214,7 @@ static const struct file_operations udc_proc_fops = {
	.open		= udc_proc_open,
	.read		= seq_read,
	.llseek		= seq_lseek,
	.release	= seq_release,
	.release	= single_release,
};

#endif	/* CONFIG_USB_GADGET_DEBUG_FILES */