From: Al Viro Date: Sun, 5 May 2013 04:12:56 +0000 (-0400) Subject: input: single_open() leak X-Git-Tag: v4.0~4151^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9b3a0a6f8ca7bdced15647a1ed5e07d86d58062c;p=platform%2Fkernel%2Flinux-amlogic.git input: single_open() leak Cc: stable@vger.kernel.org Signed-off-by: Al Viro --- diff --git a/drivers/input/misc/hp_sdc_rtc.c b/drivers/input/misc/hp_sdc_rtc.c index 770479d..86b8228 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 = { .open = hp_sdc_rtc_proc_open, .read = seq_read, .llseek = seq_lseek, - .release = seq_release, + .release = single_release, }; static int hp_sdc_rtc_ioctl(struct file *file,