From patchwork Fri Oct 16 06:27:37 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Junghak Sung X-Patchwork-Id: 7411091 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 3FCFCBEEA4 for ; Fri, 16 Oct 2015 06:28:11 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 71EB320A67 for ; Fri, 16 Oct 2015 06:28:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 826F120A66 for ; Fri, 16 Oct 2015 06:28:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753317AbbJPG2H (ORCPT ); Fri, 16 Oct 2015 02:28:07 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:58724 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753281AbbJPG2F (ORCPT ); Fri, 16 Oct 2015 02:28:05 -0400 Received: from epcpsbgr2.samsung.com (u142.gpu120.samsung.co.kr [203.254.230.142]) by mailout4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NWA01O1LVA9ED20@mailout4.samsung.com> for linux-media@vger.kernel.org; Fri, 16 Oct 2015 15:27:45 +0900 (KST) Received: from epcpsbgm2new.samsung.com ( [172.20.52.113]) by epcpsbgr2.samsung.com (EPCPMTA) with SMTP id 05.18.05272.1E890265; Fri, 16 Oct 2015 15:27:45 +0900 (KST) X-AuditID: cbfee68e-f791c6d000001498-40-562098e11509 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2new.samsung.com (EPCPMTA) with SMTP id 7A.26.18629.1E890265; Fri, 16 Oct 2015 15:27:45 +0900 (KST) Received: from localhost.localdomain ([10.252.83.96]) by mmp1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NWA001RRVA8KE70@mmp1.samsung.com>; Fri, 16 Oct 2015 15:27:45 +0900 (KST) From: Junghak Sung To: linux-media@vger.kernel.org, mchehab@osg.samsung.com, hverkuil@xs4all.nl, laurent.pinchart@ideasonboard.com, sakari.ailus@iki.fi, pawel@osciak.com Cc: inki.dae@samsung.com, sw0312.kim@samsung.com, nenggun.kim@samsung.com, sangbae90.lee@samsung.com, rany.kwon@samsung.com, Junghak Sung Subject: [RFC PATCH v7 1/7] media: videobuf2: Fix a build warning on fimc-lite.c Date: Fri, 16 Oct 2015 15:27:37 +0900 Message-id: <1444976863-3657-2-git-send-email-jh1009.sung@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1444976863-3657-1-git-send-email-jh1009.sung@samsung.com> References: <1444976863-3657-1-git-send-email-jh1009.sung@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrFLMWRmVeSWpSXmKPExsWyRsSkUPfhDIUwg7YDkhanJj9jsph0fwKL xfbjr9gtOicuYbfo2bCV1WL1swqLA327mCymvP3JbvFv2lNmizP7V7JZHP90kMVixuSXbA48 HrM7ZrJ6HP66kMXj8a+XbB5b+u+ye/RtWcXo8XmTnMepr5/ZA9ijuGxSUnMyy1KL9O0SuDIm fLnPXDCJveLk9AnsDYx/WLsYOTkkBEwkLt79zwxhi0lcuLeerYuRi0NIYAWjxMTNH5lgig69 Og9WJCSwlFHi/15biKLvjBK/vk8F6uDgYBPQkZi82RAkLiIwg1Gi9/gqJhCHWWA5o8Tp16fY QbqFBQIkJjzczgLSwCKgKnFxRSGIySvgJrF1hwmIKSGgIDFnkg1IMaeAu8Tqk1uZQcJCQBVH T9WCDJQQuMQuMffQSzaQGhYBAYlvkw+xQLTKSmw6APWKpMTBFTdYJjAKL2BkWM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pRTB9TBycUg2M9UlMGrG7 D07xVWhJcMiaMvXUoXfl/x3n8ruukp2w9U/rTJ8fTSdKf7Uf0vP+3F22nPvzl/iNF088mZ2a saB/585+p6sWXnMNX8+S5wn8cit/tYm4n6SQP7sFa+VP3pCiNH+RLanXixUOR8z+6eqqIXz9 Ee/T9c/cORWfbV79wCxm7nLGTykpSizFGYmGWsxFxYkAYdWZrtoCAAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fix a warning on fimc-lite.c reported by kbuild robot. Signed-off-by: Junghak Sung --- drivers/media/platform/exynos4-is/fimc-lite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/exynos4-is/fimc-lite.c b/drivers/media/platform/exynos4-is/fimc-lite.c index d93d03d..60660c3 100644 --- a/drivers/media/platform/exynos4-is/fimc-lite.c +++ b/drivers/media/platform/exynos4-is/fimc-lite.c @@ -359,7 +359,7 @@ static int queue_setup(struct vb2_queue *vq, const void *parg, unsigned int *num_buffers, unsigned int *num_planes, unsigned int sizes[], void *allocators[]) { - struct v4l2_format *pfmt = parg; + const struct v4l2_format *pfmt = parg; const struct v4l2_pix_format_mplane *pixm = NULL; struct fimc_lite *fimc = vq->drv_priv; struct flite_frame *frame = &fimc->out_frame;