projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9b9b35
)
Staging: rtl8192e: add missing single_release()
author
Li Zefan
<lizefan@huawei.com>
Wed, 31 Jul 2013 06:29:27 +0000
(14:29 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 1 Aug 2013 00:33:36 +0000
(17:33 -0700)
The debug file is opened with single_open(), but there's no
single_release().
Signed-off-by: Li Zefan <lizefan@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtllib_module.c
patch
|
blob
|
history
diff --git
a/drivers/staging/rtl8192e/rtllib_module.c
b/drivers/staging/rtl8192e/rtllib_module.c
index 84ea721d5d8e09d5e86fca6555fe6497aaabbb83..51d46e04d3f51a3634d0fa58d66969fb06a1e47b 100644
(file)
--- a/
drivers/staging/rtl8192e/rtllib_module.c
+++ b/
drivers/staging/rtl8192e/rtllib_module.c
@@
-233,7
+233,8
@@
static const struct file_operations fops = {
.open = open_debug_level,
.read = seq_read,
.llseek = seq_lseek,
- .write = write_debug_level
+ .write = write_debug_level,
+ .release = single_release,
};
int __init rtllib_init(void)