OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
066ed42
)
android: binder: Prefer __func__ to using hardcoded function name
author
Elad Wexler
<elad.wexler@gmail.com>
Fri, 29 Dec 2017 09:03:37 +0000
(11:03 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 9 Jan 2018 16:05:32 +0000
(17:05 +0100)
Coding style fixup
Signed-off-by: Elad Wexler <elad.wexler@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/android/binder.c
patch
|
blob
|
history
diff --git
a/drivers/android/binder.c
b/drivers/android/binder.c
index
778caed
..
82fcc1e
100644
(file)
--- a/
drivers/android/binder.c
+++ b/
drivers/android/binder.c
@@
-4709,7
+4709,7
@@
static int binder_mmap(struct file *filp, struct vm_area_struct *vma)
return 0;
err_bad_arg:
- pr_err("
binder_mmap: %d %lx-%lx %s failed %d\n"
,
+ pr_err("
%s: %d %lx-%lx %s failed %d\n", __func__
,
proc->pid, vma->vm_start, vma->vm_end, failure_string, ret);
return ret;
}
@@
-4719,7
+4719,7
@@
static int binder_open(struct inode *nodp, struct file *filp)
struct binder_proc *proc;
struct binder_device *binder_dev;
- binder_debug(BINDER_DEBUG_OPEN_CLOSE, "
binder_open: %d:%d\n"
,
+ binder_debug(BINDER_DEBUG_OPEN_CLOSE, "
%s: %d:%d\n", __func__
,
current->group_leader->pid, current->pid);
proc = kzalloc(sizeof(*proc), GFP_KERNEL);