aboutsummaryrefslogtreecommitdiffstats
path: root/arch/cris
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-05-05 00:07:52 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2013-05-05 00:07:52 -0400
commitf42787dff056eefa64f936ffe9a6836d0301742f (patch)
tree857165337ec8aaee31bb963762b0bb8ef4868625 /arch/cris
parentb11ac20ecab194428deebf31f20c04fad5253628 (diff)
cris: single_open() leaks
Cc: stable@vger.kernel.org Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/cris')
-rw-r--r--arch/cris/arch-v10/kernel/fasttimer.c2
-rw-r--r--arch/cris/arch-v32/kernel/fasttimer.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/cris/arch-v10/kernel/fasttimer.c b/arch/cris/arch-v10/kernel/fasttimer.c
index ce6f512968a4..48a59afbeeb1 100644
--- a/arch/cris/arch-v10/kernel/fasttimer.c
+++ b/arch/cris/arch-v10/kernel/fasttimer.c
@@ -644,7 +644,7 @@ static const struct file_operations proc_fasttimer_fops = {
644 .open = proc_fasttimer_open, 644 .open = proc_fasttimer_open,
645 .read = seq_read, 645 .read = seq_read,
646 .llseek = seq_lseek, 646 .llseek = seq_lseek,
647 .release = seq_release, 647 .release = single_release,
648}; 648};
649#endif /* PROC_FS */ 649#endif /* PROC_FS */
650 650
diff --git a/arch/cris/arch-v32/kernel/fasttimer.c b/arch/cris/arch-v32/kernel/fasttimer.c
index e43dd70acd96..f6644535b17e 100644
--- a/arch/cris/arch-v32/kernel/fasttimer.c
+++ b/arch/cris/arch-v32/kernel/fasttimer.c
@@ -616,7 +616,7 @@ static const struct file_operations proc_fasttimer_fops = {
616 .open = proc_fasttimer_open, 616 .open = proc_fasttimer_open,
617 .read = seq_read, 617 .read = seq_read,
618 .llseek = seq_lseek, 618 .llseek = seq_lseek,
619 .release = seq_release, 619 .release = single_release,
620}; 620};
621 621
622#endif /* PROC_FS */ 622#endif /* PROC_FS */