summaryrefslogtreecommitdiffstats
path: root/arch/sh
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-05-05 00:11:01 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2013-05-05 00:11:01 -0400
commitc39b9fd728d8173ecda993524089fbc38211a17f (patch)
treedecccc2ebc9c855bd2301c8b1922c0f412277fd4 /arch/sh
parent46d4c0ff2446d04ee765d6fe6e0b1e596e4b8c29 (diff)
downloadlinux-stable-c39b9fd728d8173ecda993524089fbc38211a17f.tar.gz
linux-stable-c39b9fd728d8173ecda993524089fbc38211a17f.tar.bz2
linux-stable-c39b9fd728d8173ecda993524089fbc38211a17f.zip
sh: single_open() leaks
Cc: vger.kernel.org Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/sh')
-rw-r--r--arch/sh/drivers/dma/dma-api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/drivers/dma/dma-api.c b/arch/sh/drivers/dma/dma-api.c
index 851e5106e580..c0eec08d8f95 100644
--- a/arch/sh/drivers/dma/dma-api.c
+++ b/arch/sh/drivers/dma/dma-api.c
@@ -348,7 +348,7 @@ static const struct file_operations dma_proc_fops = {
.open = dma_proc_open,
.read = seq_read,
.llseek = seq_lseek,
- .release = seq_release,
+ .release = single_release,
};
int register_dmac(struct dma_info *info)