summaryrefslogtreecommitdiffstats
path: root/arch/h8300/kernel
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-05-05 00:08:26 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2013-05-05 00:08:26 -0400
commita81ecc1631db6330d2b9ba11374b5812733a99ee (patch)
treeefd354ea539cd5eb6cc285824f4d26ff1376bf64 /arch/h8300/kernel
parentf42787dff056eefa64f936ffe9a6836d0301742f (diff)
downloadtalos-op-linux-a81ecc1631db6330d2b9ba11374b5812733a99ee.tar.gz
talos-op-linux-a81ecc1631db6330d2b9ba11374b5812733a99ee.zip
h8300: single_open() leaks
Cc: stable@vger.kernel.org Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/h8300/kernel')
-rw-r--r--arch/h8300/kernel/gpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/h8300/kernel/gpio.c b/arch/h8300/kernel/gpio.c
index b02c752cd326..084bfd0c107e 100644
--- a/arch/h8300/kernel/gpio.c
+++ b/arch/h8300/kernel/gpio.c
@@ -161,7 +161,7 @@ static const struct file_operations gpio_proc_fops = {
.open = gpio_proc_open,
.read = seq_read,
.llseek = seq_lseek,
- .release = seq_release,
+ .release = single_release,
};
static __init int register_proc(void)
OpenPOWER on IntegriCloud