From patchwork Wed Jun 1 20:19:22 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 841832 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p51KJlEo025119 for ; Wed, 1 Jun 2011 20:19:48 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932462Ab1FAUTg (ORCPT ); Wed, 1 Jun 2011 16:19:36 -0400 Received: from metis.ext.pengutronix.de ([92.198.50.35]:41899 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932454Ab1FAUTe (ORCPT ); Wed, 1 Jun 2011 16:19:34 -0400 Received: from ukl by metis.ext.pengutronix.de with local (Exim 4.72) (envelope-from ) id 1QRrt2-0003Qp-U8; Wed, 01 Jun 2011 22:19:30 +0200 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= To: linux-media@vger.kernel.org Cc: kernel@pengutronix.de, Mauro Carvalho Chehab , Pawel Osciak , Kyungmin Park , Guennadi Liakhovetski , Hans Verkuil Date: Wed, 1 Jun 2011 22:19:22 +0200 Message-Id: <1306959563-7108-1-git-send-email-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 1.7.5.3 MIME-Version: 1.0 X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: ukl@pengutronix.de X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on metis.extern.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-1.7 required=4.5 tests=AWL,BAYES_00,NO_RELAYS shortcircuit=no autolearn=ham version=3.3.1 Subject: [PATCH] [media] V4L/videobuf2-memops: use pr_debug for debug messages X-SA-Exim-Version: 4.2.1 (built Mon, 22 Mar 2010 06:51:10 +0000) X-SA-Exim-Scanned: Yes (on metis.ext.pengutronix.de) X-PTX-Original-Recipient: linux-media@vger.kernel.org Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Wed, 01 Jun 2011 20:19:49 +0000 (UTC) Otherwise they clutter the dmesg buffer even on a production kernel. Signed-off-by: Uwe Kleine-König Acked-by: Kyungmin Park --- 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);