summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap1/pm.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-05-05 06:07:22 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2013-05-05 06:07:22 +0200
commitb11ac20ecab194428deebf31f20c04fad5253628 (patch)
tree73c3c09234e7b42be991313bf7bb57b6f2750493 /arch/arm/mach-omap1/pm.c
parentMerge tag 'mmc-updates-for-3.10-rc1' of git://git.kernel.org/pub/scm/linux/ke... (diff)
downloadlinux-b11ac20ecab194428deebf31f20c04fad5253628.tar.xz
linux-b11ac20ecab194428deebf31f20c04fad5253628.zip
arm: single_open() leaks
Cc: stable@vger.kernel.org Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-omap1/pm.c')
-rw-r--r--arch/arm/mach-omap1/pm.c2
1 files changed, 1 insertions, 1 deletions
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 = {
.open = omap_pm_debug_open,
.read = seq_read,
.llseek = seq_lseek,
- .release = seq_release,
+ .release = single_release,
};
static void omap_pm_init_debugfs(void)