aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/csr
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-05-05 00:15:43 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2013-05-05 00:15:43 -0400
commitbae301d34652e1aa8d8e63198d2dcc84dc612517 (patch)
treea6e5e883e0b6f08a1cfde35c1b5989e0e5b260e4 /drivers/staging/csr
parent9bec8a7401841be71b9bbd4110edf9da4cb5f39d (diff)
downloadlinaro-lsk-bae301d34652e1aa8d8e63198d2dcc84dc612517.tar.gz
staging: single_open() leaks
Cc: stable@vger.kernel.org Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/staging/csr')
-rw-r--r--drivers/staging/csr/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/csr/io.c b/drivers/staging/csr/io.c
index f9b5c22c00b..fe4a7ba2acc 100644
--- a/drivers/staging/csr/io.c
+++ b/drivers/staging/csr/io.c
@@ -95,7 +95,7 @@ static const struct file_operations uf_proc_fops = {
.open = uf_proc_open,
.read = seq_read,
.llseek = seq_lseek,
- .release = seq_release,
+ .release = single_release,
};
#endif /* CONFIG_PROC_FS */