summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-05-05 00:09:44 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2013-05-05 00:10:41 -0400
commit46d4c0ff2446d04ee765d6fe6e0b1e596e4b8c29 (patch)
treee0793e915c4c679f2a7e06afcd66e2276c3a01e1 /arch
parentacf300dd8708cb063244bd8b5838ea0cd7e42cc3 (diff)
downloadlinux-46d4c0ff2446d04ee765d6fe6e0b1e596e4b8c29.tar.gz
linux-46d4c0ff2446d04ee765d6fe6e0b1e596e4b8c29.tar.bz2
linux-46d4c0ff2446d04ee765d6fe6e0b1e596e4b8c29.zip
parisc: single_open() leaks
Cc: stable@vger.kernel.org Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r--arch/parisc/kernel/pdc_chassis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/kernel/pdc_chassis.c b/arch/parisc/kernel/pdc_chassis.c
index 8fa314fbfb18..3e04242de5a7 100644
--- a/arch/parisc/kernel/pdc_chassis.c
+++ b/arch/parisc/kernel/pdc_chassis.c
@@ -275,7 +275,7 @@ static const struct file_operations pdc_chassis_warn_fops = {
.open = pdc_chassis_warn_open,
.read = seq_read,
.llseek = seq_lseek,
- .release = seq_release,
+ .release = single_release,
};
static int __init pdc_chassis_create_procfs(void)