aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/pci/ops-pmcmsp.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-05-05 00:09:30 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2013-05-05 00:10:21 -0400
commitacf300dd8708cb063244bd8b5838ea0cd7e42cc3 (patch)
tree489fb3ba2832af76946a2e75abb53f91bd461439 /arch/mips/pci/ops-pmcmsp.c
parent75401461610bf5fad0347bbd8cf7514a1f3b0cd4 (diff)
mips: single_open() leaks
Cc: stable@vger.kernel.org Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/mips/pci/ops-pmcmsp.c')
-rw-r--r--arch/mips/pci/ops-pmcmsp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/pci/ops-pmcmsp.c b/arch/mips/pci/ops-pmcmsp.c
index 4eaab6327369..3d27800edba2 100644
--- a/arch/mips/pci/ops-pmcmsp.c
+++ b/arch/mips/pci/ops-pmcmsp.c
@@ -92,7 +92,7 @@ static const struct file_operations msp_pci_rd_cnt_fops = {
92 .open = msp_pci_rd_cnt_open, 92 .open = msp_pci_rd_cnt_open,
93 .read = seq_read, 93 .read = seq_read,
94 .llseek = seq_lseek, 94 .llseek = seq_lseek,
95 .release = seq_release, 95 .release = single_release,
96}; 96};
97 97
98/***************************************************************************** 98/*****************************************************************************
@@ -169,7 +169,7 @@ static const struct file_operations gen_pci_cfg_wr_fops = {
169 .open = gen_pci_cfg_wr_open, 169 .open = gen_pci_cfg_wr_open,
170 .read = seq_read, 170 .read = seq_read,
171 .llseek = seq_lseek, 171 .llseek = seq_lseek,
172 .release = seq_release, 172 .release = single_release,
173}; 173};
174 174
175/***************************************************************************** 175/*****************************************************************************