aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-05-05 00:07:22 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2013-05-05 00:07:22 -0400
commitb11ac20ecab194428deebf31f20c04fad5253628 (patch)
tree73c3c09234e7b42be991313bf7bb57b6f2750493
parent173192958d06b8d1eb44f56d74373052ad6a9a60 (diff)
arm: single_open() leaks
Cc: stable@vger.kernel.org Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r--arch/arm/kernel/swp_emulate.c2
-rw-r--r--arch/arm/mach-omap1/pm.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/kernel/swp_emulate.c b/arch/arm/kernel/swp_emulate.c
index 087fc321e9e5..b1b89882b113 100644
--- a/arch/arm/kernel/swp_emulate.c
+++ b/arch/arm/kernel/swp_emulate.c
@@ -99,7 +99,7 @@ static const struct file_operations proc_status_fops = {
99 .open = proc_status_open, 99 .open = proc_status_open,
100 .read = seq_read, 100 .read = seq_read,
101 .llseek = seq_lseek, 101 .llseek = seq_lseek,
102 .release = seq_release, 102 .release = single_release,
103}; 103};
104#endif 104#endif
105 105
diff --git a/arch/arm/mach-omap1/pm.c b/arch/arm/mach-omap1/pm.c
index dd712f109738..358b82cb9f78 100644
--- a/arch/arm/mach-omap1/pm.c
+++ b/arch/arm/mach-omap1/pm.c
@@ -557,7 +557,7 @@ static const struct file_operations omap_pm_debug_fops = {
557 .open = omap_pm_debug_open, 557 .open = omap_pm_debug_open,
558 .read = seq_read, 558 .read = seq_read,
559 .llseek = seq_lseek, 559 .llseek = seq_lseek,
560 .release = seq_release, 560 .release = single_release,
561}; 561};
562 562
563static void omap_pm_init_debugfs(void) 563static void omap_pm_init_debugfs(void)