From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932427AbdL2JDp (ORCPT ); Fri, 29 Dec 2017 04:03:45 -0500 Received: from mail-wr0-f194.google.com ([209.85.128.194]:42659 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753997AbdL2JDm (ORCPT ); Fri, 29 Dec 2017 04:03:42 -0500 X-Google-Smtp-Source: ACJfBoug2KPEu5S4ru7looEdlcnS+lbusAHkSPo72nD5ZNm04CtzcxdxwGNxO+mFxXTq8rfKoipncw== Date: Fri, 29 Dec 2017 11:03:37 +0200 From: Elad Wexler To: gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org Subject: [PATCH] android: binder: Prefer __func__ to using hardcoded function name Message-ID: <20171229090337.GA7866@ewexler> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Coding style fixup Signed-off-by: Elad Wexler --- drivers/android/binder.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/android/binder.c b/drivers/android/binder.c index bccec9d..a66ad3d 100644 --- a/drivers/android/binder.c +++ b/drivers/android/binder.c @@ -4631,7 +4631,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; } @@ -4641,7 +4641,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); -- 2.7.4