aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/android
diff options
context:
space:
mode:
authorElad Wexler <elad.wexler@gmail.com>2017-12-29 04:03:37 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-01-09 11:05:32 -0500
commit00c41cddebde8d1a635bf81a7b255b7e56fd0d15 (patch)
tree36408c7e9095138dc938697b93add6439bf50968 /drivers/android
parent066ed427125eccaab5c0e56cce85d0cff4ee82a4 (diff)
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>
Diffstat (limited to 'drivers/android')
-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 778caed570c6..82fcc1e64e82 100644
--- 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)
4709 return 0; 4709 return 0;
4710 4710
4711err_bad_arg: 4711err_bad_arg:
4712 pr_err("binder_mmap: %d %lx-%lx %s failed %d\n", 4712 pr_err("%s: %d %lx-%lx %s failed %d\n", __func__,
4713 proc->pid, vma->vm_start, vma->vm_end, failure_string, ret); 4713 proc->pid, vma->vm_start, vma->vm_end, failure_string, ret);
4714 return ret; 4714 return ret;
4715} 4715}
@@ -4719,7 +4719,7 @@ static int binder_open(struct inode *nodp, struct file *filp)
4719 struct binder_proc *proc; 4719 struct binder_proc *proc;
4720 struct binder_device *binder_dev; 4720 struct binder_device *binder_dev;
4721 4721
4722 binder_debug(BINDER_DEBUG_OPEN_CLOSE, "binder_open: %d:%d\n", 4722 binder_debug(BINDER_DEBUG_OPEN_CLOSE, "%s: %d:%d\n", __func__,
4723 current->group_leader->pid, current->pid); 4723 current->group_leader->pid, current->pid);
4724 4724
4725 proc = kzalloc(sizeof(*proc), GFP_KERNEL); 4725 proc = kzalloc(sizeof(*proc), GFP_KERNEL);