From patchwork Tue Apr 3 08:04:54 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 7577 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 5691E23E29 for ; Tue, 3 Apr 2012 08:13:02 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id 19D19A18536 for ; Tue, 3 Apr 2012 08:13:01 +0000 (UTC) Received: by iage36 with SMTP id e36so7534964iag.11 for ; Tue, 03 Apr 2012 01:13:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:mime-version:content-type :content-transfer-encoding:x-gm-message-state; bh=h4Ebk+ZWpw8Eakm9fBXoZS6guyHSe99YgSXOXkSskcw=; b=MECjANWhqXx6YojY8oqirwniYAaHP0kr0WJTYPVMHETdUHVYYvPYsWmJh2i+wHEChh Ciqh06GvaDFOMWynKahHonoLrH0r0qBRG4kq2xPvtKlPuMckfEkMIu1lqBlYrCIGLrLp ds4BGu+zPxacDnFa6p/RvPP/gFTKyI9Adxfqm/6Uqx1wgLtAGxhj4QDHUHFXUFs7EqIw /7C4S/fsIkcDykVtpewMmh4aTZQYXwDRVjoDe4naCsUucVkpcTx+UOUr+hDDJQokNoKK oNEYNzteiqu+K7XYZlkTK4Xsxi40CPsDy0OA8+OEUoni7hnaFfVAWGL69tsIKPfapRsV PtSQ== Received: by 10.42.155.9 with SMTP id s9mr6395481icw.51.1333440781162; Tue, 03 Apr 2012 01:13:01 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.5.205 with SMTP id 13csp19174ibw; Tue, 3 Apr 2012 01:13:00 -0700 (PDT) Received: by 10.68.200.225 with SMTP id jv1mr15356509pbc.120.1333440780042; Tue, 03 Apr 2012 01:13:00 -0700 (PDT) Received: from mail-pz0-f44.google.com (mail-pz0-f44.google.com [209.85.210.44]) by mx.google.com with ESMTPS id l4si14062446pbg.311.2012.04.03.01.12.58 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 03 Apr 2012 01:13:00 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.210.44 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.210.44; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.210.44 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by dadz14 with SMTP id z14so14139570dad.17 for ; Tue, 03 Apr 2012 01:12:58 -0700 (PDT) Received: by 10.68.194.198 with SMTP id hy6mr27887132pbc.0.1333440777873; Tue, 03 Apr 2012 01:12:57 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id q5sm11281288pbp.28.2012.04.03.01.12.54 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 03 Apr 2012 01:12:57 -0700 (PDT) From: Sachin Kamat To: linux-media@vger.kernel.org Cc: t.stanislaws@samsung.com, sachin.kamat@linaro.org, mchehab@infradead.org, patches@linaro.org Subject: [PATCH] [media] s5p-tv: Fix compiler warning in mixer_video.c file Date: Tue, 3 Apr 2012 13:34:54 +0530 Message-Id: <1333440294-382-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 MIME-Version: 1.0 X-Gm-Message-State: ALoCoQlq9R4yYhq96du5CRKq5peHnO/ATOFLs7b6ObzP3p/gF1GAmsvp4inTPyKgBfYxQw3785FK Fixes the following warning: mixer_video.c:857:3: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘unsigned int’ [-Wformat] Signed-off-by: Sachin Kamat --- drivers/media/video/s5p-tv/mixer_video.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/media/video/s5p-tv/mixer_video.c b/drivers/media/video/s5p-tv/mixer_video.c index f7ca5cc..bb33d7c 100644 --- a/drivers/media/video/s5p-tv/mixer_video.c +++ b/drivers/media/video/s5p-tv/mixer_video.c @@ -854,7 +854,7 @@ static int queue_setup(struct vb2_queue *vq, const struct v4l2_format *pfmt, for (i = 0; i < fmt->num_subframes; ++i) { alloc_ctxs[i] = layer->mdev->alloc_ctx; sizes[i] = PAGE_ALIGN(planes[i].sizeimage); - mxr_dbg(mdev, "size[%d] = %08lx\n", i, sizes[i]); + mxr_dbg(mdev, "size[%d] = %08x\n", i, sizes[i]); } if (*nbuffers == 0)