projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d8cbcf
)
Staging: binder: Don't create two proc entries with the same name if the driver is...
author
Arve Hjønnevåg
<arve@android.com>
Mon, 6 Apr 2009 22:12:54 +0000
(15:12 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 17 Apr 2009 18:06:26 +0000
(11:06 -0700)
Signed-off-by: Arve Hjønnevåg <arve@android.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/android/binder.c
patch
|
blob
|
history
diff --git
a/drivers/staging/android/binder.c
b/drivers/staging/android/binder.c
index
b62cd2a
..
39871da
100644
(file)
--- a/
drivers/staging/android/binder.c
+++ b/
drivers/staging/android/binder.c
@@
-2776,6
+2776,7
@@
static int binder_open(struct inode *nodp, struct file *filp)
if (binder_proc_dir_entry_proc) {
char strbuf[11];
snprintf(strbuf, sizeof(strbuf), "%u", proc->pid);
+ remove_proc_entry(strbuf, binder_proc_dir_entry_proc);
create_proc_read_entry(strbuf, S_IRUGO, binder_proc_dir_entry_proc, binder_read_proc_proc, proc);
}