From: SeongJae Park <sj38.park@gmail.com>
To: gregkh@linuxfoundation.org
Cc: sachin.kamat@linaro.org, swetland@google.com,
devel@driverdev.osusl.org, linux-kernel@vger.kernel.org,
SeongJae Park <sj38.park@gmail.com>
Subject: [PATCH] staging: android: binder: convert commented messages to pr_debug
Date: Wed, 19 Feb 2014 12:49:33 +0900 [thread overview]
Message-ID: <1392781773-1941-1-git-send-email-sj38.park@gmail.com> (raw)
2 debugging messages were just commented out for normal case. Let them
be activated on debug mode without explicit code modification.
Signed-off-by: SeongJae Park <sj38.park@gmail.com>
---
drivers/staging/android/binder.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/android/binder.c b/drivers/staging/android/binder.c
index eaec1da..a56f941 100644
--- a/drivers/staging/android/binder.c
+++ b/drivers/staging/android/binder.c
@@ -2553,7 +2553,8 @@ static long binder_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
unsigned int size = _IOC_SIZE(cmd);
void __user *ubuf = (void __user *)arg;
- /*pr_info("binder_ioctl: %d:%d %x %lx\n", proc->pid, current->pid, cmd, arg);*/
+ pr_debug("binder_ioctl: %d:%d %x %lx\n",
+ proc->pid, current->pid, cmd, arg);
trace_binder_ioctl(cmd, arg);
@@ -2787,8 +2788,8 @@ static int binder_mmap(struct file *filp, struct vm_area_struct *vma)
proc->vma = vma;
proc->vma_vm_mm = vma->vm_mm;
- /*pr_info("binder_mmap: %d %lx-%lx maps %p\n",
- proc->pid, vma->vm_start, vma->vm_end, proc->buffer);*/
+ pr_debug("binder_mmap: %d %lx-%lx maps %p\n",
+ proc->pid, vma->vm_start, vma->vm_end, proc->buffer);
return 0;
err_alloc_small_buf_failed:
--
1.8.3.2
next reply other threads:[~2014-02-19 3:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-19 3:49 SeongJae Park [this message]
2014-02-19 3:52 ` SeongJae Park
2014-02-19 15:24 ` Greg KH
2014-02-20 4:12 ` SeongJae Park
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1392781773-1941-1-git-send-email-sj38.park@gmail.com \
--to=sj38.park@gmail.com \
--cc=devel@driverdev.osusl.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sachin.kamat@linaro.org \
--cc=swetland@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®