From: Elad Wexler Date: Fri, 29 Dec 2017 09:03:37 +0000 (+0200) Subject: UPSTREAM: android: binder: Prefer __func__ to using hardcoded function name X-Git-Tag: khadas-vims-v0.9.6-release~1584^2~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6b64640ca15f642226609aaea318d8466763b8fc;p=platform%2Fkernel%2Flinux-amlogic.git UPSTREAM: android: binder: Prefer __func__ to using hardcoded function name Coding style fixup Signed-off-by: Elad Wexler Signed-off-by: Greg Kroah-Hartman (cherry picked from commit 00c41cddebde8d1a635bf81a7b255b7e56fd0d15) Change-Id: I795e2a9f525c4a8df5cd0a81842a88529ba54f21 --- diff --git a/drivers/android/binder.c b/drivers/android/binder.c index 9cfa3ff..c913f1c 100644 --- a/drivers/android/binder.c +++ b/drivers/android/binder.c @@ -4910,7 +4910,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; } @@ -4920,7 +4920,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);