From patchwork Tue Aug 7 16:43:11 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 1287081 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 080B93FC23 for ; Tue, 7 Aug 2012 16:43:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753945Ab2HGQn2 (ORCPT ); Tue, 7 Aug 2012 12:43:28 -0400 Received: from mga01.intel.com ([192.55.52.88]:60654 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754723Ab2HGQm7 (ORCPT ); Tue, 7 Aug 2012 12:42:59 -0400 Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 07 Aug 2012 09:42:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.71,315,1320652800"; d="scan'208";a="204208072" Received: from smile.fi.intel.com (HELO smile) ([10.237.72.62]) by fmsmga002.fm.intel.com with ESMTP; 07 Aug 2012 09:42:57 -0700 Received: from andy by smile with local (Exim 4.80) (envelope-from ) id 1SymsJ-0004lA-OP; Tue, 07 Aug 2012 19:43:19 +0300 From: Andy Shevchenko To: Mauro Carvalho Chehab , linux-media@vger.kernel.org Cc: Andy Shevchenko Subject: [PATCH 11/11] au0828: use %*ph to dump small buffers Date: Tue, 7 Aug 2012 19:43:11 +0300 Message-Id: <1344357792-18202-11-git-send-email-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1344357792-18202-1-git-send-email-andriy.shevchenko@linux.intel.com> References: <1344357792-18202-1-git-send-email-andriy.shevchenko@linux.intel.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Signed-off-by: Andy Shevchenko --- drivers/media/video/au0828/au0828-core.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/drivers/media/video/au0828/au0828-core.c b/drivers/media/video/au0828/au0828-core.c index 1e4ce50..49e0e92 100644 --- a/drivers/media/video/au0828/au0828-core.c +++ b/drivers/media/video/au0828/au0828-core.c @@ -73,17 +73,7 @@ static void cmd_msg_dump(struct au0828_dev *dev) int i; for (i = 0; i < sizeof(dev->ctrlmsg); i += 16) - dprintk(2, "%s() %02x %02x %02x %02x %02x %02x %02x %02x " - "%02x %02x %02x %02x %02x %02x %02x %02x\n", - __func__, - dev->ctrlmsg[i+0], dev->ctrlmsg[i+1], - dev->ctrlmsg[i+2], dev->ctrlmsg[i+3], - dev->ctrlmsg[i+4], dev->ctrlmsg[i+5], - dev->ctrlmsg[i+6], dev->ctrlmsg[i+7], - dev->ctrlmsg[i+8], dev->ctrlmsg[i+9], - dev->ctrlmsg[i+10], dev->ctrlmsg[i+11], - dev->ctrlmsg[i+12], dev->ctrlmsg[i+13], - dev->ctrlmsg[i+14], dev->ctrlmsg[i+15]); + dprintk(2, "%s() %*ph\n", __func__, 16, dev->ctrlmsg + i); } static int send_control_msg(struct au0828_dev *dev, u16 request, u32 value,