Skip to content

Commit 00c41cd

Browse files
eladwexlergregkh
authored andcommitted
android: binder: Prefer __func__ to using hardcoded function name
Coding style fixup Signed-off-by: Elad Wexler <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 066ed42 commit 00c41cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/android/binder.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4709,7 +4709,7 @@ static int binder_mmap(struct file *filp, struct vm_area_struct *vma)
47094709
return 0;
47104710

47114711
err_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__,
47134713
proc->pid, vma->vm_start, vma->vm_end, failure_string, ret);
47144714
return ret;
47154715
}
@@ -4719,7 +4719,7 @@ static int binder_open(struct inode *nodp, struct file *filp)
47194719
struct binder_proc *proc;
47204720
struct binder_device *binder_dev;
47214721

4722-
binder_debug(BINDER_DEBUG_OPEN_CLOSE, "binder_open: %d:%d\n",
4722+
binder_debug(BINDER_DEBUG_OPEN_CLOSE, "%s: %d:%d\n", __func__,
47234723
current->group_leader->pid, current->pid);
47244724

47254725
proc = kzalloc(sizeof(*proc), GFP_KERNEL);

0 commit comments

Comments
 (0)