diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-05-05 00:11:01 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-05-05 00:11:01 -0400 |
commit | c39b9fd728d8173ecda993524089fbc38211a17f (patch) | |
tree | decccc2ebc9c855bd2301c8b1922c0f412277fd4 /arch/sh/drivers | |
parent | 46d4c0ff2446d04ee765d6fe6e0b1e596e4b8c29 (diff) |
sh: single_open() leaks
Cc: vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/sh/drivers')
-rw-r--r-- | arch/sh/drivers/dma/dma-api.c | 2 |
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 = { | |||
348 | .open = dma_proc_open, | 348 | .open = dma_proc_open, |
349 | .read = seq_read, | 349 | .read = seq_read, |
350 | .llseek = seq_lseek, | 350 | .llseek = seq_lseek, |
351 | .release = seq_release, | 351 | .release = single_release, |
352 | }; | 352 | }; |
353 | 353 | ||
354 | int register_dmac(struct dma_info *info) | 354 | int register_dmac(struct dma_info *info) |