From: Mauro Carvalho Chehab <mchehab@infradead.org>
To: Kyungmin Park <kmpark@infradead.org>
Cc: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>,
linux-media@vger.kernel.org, kernel@pengutronix.de,
"Pawel Osciak" <pawel@osciak.com>,
"Guennadi Liakhovetski" <g.liakhovetski@gmx.de>,
"Hans Verkuil" <hverkuil@xs4all.nl>,
"Marek Szyprowski" <m.szyprowski@samsung.com>
Subject: Re: [PATCH] [media] V4L/videobuf2-memops: use pr_debug for debug messages
Date: Wed, 01 Jun 2011 22:34:31 -0300 [thread overview]
Message-ID: <4DE6E8A7.2080305@infradead.org> (raw)
In-Reply-To: <BANLkTimG=xP7qvpN7G8+Mmmy-JozEpyPNw@mail.gmail.com>
Hi Kyungmin,
Em 01-06-2011 21:50, Kyungmin Park escreveu:
> Acked-by: Kyungmin Park <kyunginn.,park@samsung.com>
As this patch is really trivial and makes sense, I've just applied it earlier
today.
> ---
>
> I think it's better to add the videobuf2 maintainer entry for proper
> person to know the changes.
> In this case, Marek is missing.
>
> If any objection, I will make a patch.
No objections from my side. Having the proper driver maintainers written at MAINTAINERS
help people when submitting patches to send the patch to the proper driver maintainer.
Thanks,
Mauro.
>
> Thank you,
> Kyungmin Park
>
> 2011/6/2 Uwe Kleine-König <u.kleine-koenig@pengutronix.de>:
>> Otherwise they clutter the dmesg buffer even on a production kernel.
>>
>> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
>> ---
>> drivers/media/video/videobuf2-memops.c | 6 +++---
>> 1 files changed, 3 insertions(+), 3 deletions(-)
>>
>> diff --git a/drivers/media/video/videobuf2-memops.c b/drivers/media/video/videobuf2-memops.c
>> index 5370a3a..1987e1b1 100644
>> --- a/drivers/media/video/videobuf2-memops.c
>> +++ b/drivers/media/video/videobuf2-memops.c
>> @@ -177,7 +177,7 @@ int vb2_mmap_pfn_range(struct vm_area_struct *vma, unsigned long paddr,
>>
>> vma->vm_ops->open(vma);
>>
>> - printk(KERN_DEBUG "%s: mapped paddr 0x%08lx at 0x%08lx, size %ld\n",
>> + pr_debug("%s: mapped paddr 0x%08lx at 0x%08lx, size %ld\n",
>> __func__, paddr, vma->vm_start, size);
>>
>> return 0;
>> @@ -195,7 +195,7 @@ static void vb2_common_vm_open(struct vm_area_struct *vma)
>> {
>> struct vb2_vmarea_handler *h = vma->vm_private_data;
>>
>> - printk(KERN_DEBUG "%s: %p, refcount: %d, vma: %08lx-%08lx\n",
>> + pr_debug("%s: %p, refcount: %d, vma: %08lx-%08lx\n",
>> __func__, h, atomic_read(h->refcount), vma->vm_start,
>> vma->vm_end);
>>
>> @@ -213,7 +213,7 @@ static void vb2_common_vm_close(struct vm_area_struct *vma)
>> {
>> struct vb2_vmarea_handler *h = vma->vm_private_data;
>>
>> - printk(KERN_DEBUG "%s: %p, refcount: %d, vma: %08lx-%08lx\n",
>> + pr_debug("%s: %p, refcount: %d, vma: %08lx-%08lx\n",
>> __func__, h, atomic_read(h->refcount), vma->vm_start,
>> vma->vm_end);
>>
>> --
>> 1.7.5.3
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-media" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>
next prev parent reply other threads:[~2011-06-02 1:34 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-01 20:19 [PATCH] [media] V4L/videobuf2-memops: use pr_debug for debug messages Uwe Kleine-König
2011-06-02 0:50 ` Kyungmin Park
2011-06-02 1:34 ` Mauro Carvalho Chehab [this message]
2011-06-02 5:56 ` Marek Szyprowski
2011-06-02 11:06 ` Mauro Carvalho Chehab
2011-06-03 7:39 ` Uwe Kleine-König
2011-06-03 15:39 ` Mauro Carvalho Chehab
2011-06-03 19:50 ` Uwe Kleine-König
2011-06-03 19:56 ` Mauro Carvalho Chehab
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=4DE6E8A7.2080305@infradead.org \
--to=mchehab@infradead.org \
--cc=g.liakhovetski@gmx.de \
--cc=hverkuil@xs4all.nl \
--cc=kernel@pengutronix.de \
--cc=kmpark@infradead.org \
--cc=linux-media@vger.kernel.org \
--cc=m.szyprowski@samsung.com \
--cc=pawel@osciak.com \
--cc=u.kleine-koenig@pengutronix.de \
/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