From patchwork Sun May 29 07:04:51 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ohad Ben Cohen X-Patchwork-Id: 827212 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.3) with ESMTP id p4T76r2n014703 for ; Sun, 29 May 2011 07:06:55 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751345Ab1E2HG3 (ORCPT ); Sun, 29 May 2011 03:06:29 -0400 Received: from mail-ww0-f44.google.com ([74.125.82.44]:60591 "EHLO mail-ww0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751241Ab1E2HG2 (ORCPT ); Sun, 29 May 2011 03:06:28 -0400 Received: by wwa36 with SMTP id 36so3004772wwa.1 for ; Sun, 29 May 2011 00:06:27 -0700 (PDT) Received: by 10.216.132.5 with SMTP id n5mr1312270wei.7.1306652787037; Sun, 29 May 2011 00:06:27 -0700 (PDT) Received: from localhost.localdomain (109-186-65-238.bb.netvision.net.il [109.186.65.238]) by mx.google.com with ESMTPS id n20sm1828177weq.15.2011.05.29.00.06.25 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 29 May 2011 00:06:26 -0700 (PDT) From: Ohad Ben-Cohen To: Cc: , , Ohad Ben-Cohen Subject: [PATCH] media: omap3isp: fix format string warning Date: Sun, 29 May 2011 10:04:51 +0300 Message-Id: <1306652691-21102-1-git-send-email-ohad@wizery.com> X-Mailer: git-send-email 1.7.1 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 (demeter2.kernel.org [140.211.167.43]); Sun, 29 May 2011 07:06:55 +0000 (UTC) Trivially fix this: drivers/media/video/omap3isp/isp.c: In function 'isp_isr_dbg': drivers/media/video/omap3isp/isp.c:394: warning: zero-length gnu_printf format string Signed-off-by: Ohad Ben-Cohen --- drivers/media/video/omap3isp/isp.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/media/video/omap3isp/isp.c b/drivers/media/video/omap3isp/isp.c index 472a693..a0d5e69 100644 --- a/drivers/media/video/omap3isp/isp.c +++ b/drivers/media/video/omap3isp/isp.c @@ -391,7 +391,7 @@ static inline void isp_isr_dbg(struct isp_device *isp, u32 irqstatus) }; int i; - dev_dbg(isp->dev, ""); + dev_dbg(isp->dev, "%s\n", __func__); for (i = 0; i < ARRAY_SIZE(name); i++) { if ((1 << i) & irqstatus)