summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElad Wexler <elad.wexler@gmail.com>2017-12-29 11:03:37 +0200
committerMartijn Coenen <maco@android.com>2018-07-17 12:48:04 +0200
commitdab911911501027bca4afdf8425263e7cb9341bb (patch)
tree2f92b3836b15d1edde244d1dc03d79d03359f9d9
parent8429d9832a2cb3d301eeb5d6606b6cd088b9e52b (diff)
UPSTREAM: android: binder: Prefer __func__ to using hardcoded function name
Coding style fixup Signed-off-by: Elad Wexler <elad.wexler@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> (cherry picked from commit 00c41cddebde8d1a635bf81a7b255b7e56fd0d15) Change-Id: I795e2a9f525c4a8df5cd0a81842a88529ba54f21
-rw-r--r--drivers/android/binder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/android/binder.c b/drivers/android/binder.c
index 9197d4e70238..805df83963d4 100644
--- a/drivers/android/binder.c
+++ b/drivers/android/binder.c
@@ -4911,7 +4911,7 @@ static int binder_mmap(struct file *filp, struct vm_area_struct *vma)
return ret;
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;
}
@@ -4921,7 +4921,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);