Message ID | 20171212110246.11463-1-s.nawrocki@samsung.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4A61A602A7 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 12 Dec 2017 11:14:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 31DFA29B74 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 12 Dec 2017 11:14:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 26AEA29B7F; Tue, 12 Dec 2017 11:14:08 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 10B6F29B74 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 12 Dec 2017 11:14:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: Message-id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:List-Owner; bh=wawYE+km+sLw09GwGbpY84wwZN3PuvAwBQkOUIw9F3w=; b=pc c+oo/vf5+Bx/BsZlR0BVCrQLnsn7LZSbDRAZbAeOfxE6w8HW2gZeID/3fNooU3MA8YHvZ7dqEUoQw tA8NHG7//6UnVZok12IWRcyI1Q9rFMhN6NFDSh6Kyxmp+3iCR8iy5/aqOkHYS4pXuCoH04Zqphkoz HeC/tmI0lQRN6VIlp0zzOJHjCLrUgeiCPB1F/Ig5YwyNl6V9+fxtEIitUXlnCOsL1VqKHX/y+mRtH qwAYMH4q9eBBongSF5PyC/RrSO9N7gIj/6nJinxVPDh67aj0Z53eJ7coBlPMmkBFy7gW4hJWedM1/ oXY0OEnZ2W2y3Adc2IC9j50YgOTqZR/w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eOiVf-0008HP-GM; Tue, 12 Dec 2017 11:14:03 +0000 Received: from mailout4.samsung.com ([203.254.224.34]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eOiLm-0008Et-JB for linux-arm-kernel@lists.infradead.org; Tue, 12 Dec 2017 11:03:59 +0000 Received: from epcas2p1.samsung.com (unknown [182.195.41.53]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20171212110323epoutp043ad2ded6a0837e0632e4478be3886c70~-hyeXUJ9O2765727657epoutp04K; Tue, 12 Dec 2017 11:03:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20171212110323epoutp043ad2ded6a0837e0632e4478be3886c70~-hyeXUJ9O2765727657epoutp04K DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1513076603; bh=wN2st4zWHHnYHvZKTJhlDW4t8IYrpQz4cf3SR45teOc=; h=From:To:Cc:Subject:Date:References:From; b=WntN1tP+zo1af1vY+BwYumex/y1hZpkU4/mPGw2M0f4B3eZu3TXt5i68swsEz2hFG ztrRUzBZBKb4sTjj5PM+gJj5TOP1D1XJFbssf6/qFOcPaa3SzEnl4MrOG9Ol6v8n2+ 12zXe1kY6LyaNJV1Ti9E17Xjp0K/kQTvT99+JzYQ= Received: from epsmges2p1.samsung.com (unknown [182.195.42.69]) by epcas2p4.samsung.com (KnoxPortal) with ESMTP id 20171212110323epcas2p4792f18d56d2220e2ef747eb377b14504~-hydvX3Nw1363613636epcas2p4I; Tue, 12 Dec 2017 11:03:23 +0000 (GMT) Received: from epcas2p2.samsung.com ( [182.195.41.54]) by epsmges2p1.samsung.com (Symantec Messaging Gateway) with SMTP id CE.75.04343.B77BF2A5; Tue, 12 Dec 2017 20:03:23 +0900 (KST) Received: from epsmgms2p2new.samsung.com (unknown [182.195.42.143]) by epcas2p1.samsung.com (KnoxPortal) with ESMTP id 20171212110322epcas2p11e3f36ba3de73a03f062b7877d797d2a~-hydZ8KeA2395523955epcas2p1X; Tue, 12 Dec 2017 11:03:22 +0000 (GMT) X-AuditID: b6c32a45-e7bff700000010f7-d6-5a2fb77b3e94 Received: from epmmp1.local.host ( [203.254.227.16]) by epsmgms2p2new.samsung.com (Symantec Messaging Gateway) with SMTP id 88.13.03909.A77BF2A5; Tue, 12 Dec 2017 20:03:22 +0900 (KST) Received: from AMDC3061.digital.local ([106.116.147.40]) by mmp1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0P0U000ZDHCZOC50@mmp1.samsung.com>; Tue, 12 Dec 2017 20:03:22 +0900 (KST) From: Sylwester Nawrocki <s.nawrocki@samsung.com> To: linux-media@vger.kernel.org Subject: [PATCH] s5p-mfc: Fix encoder menu controls initialization Date: Tue, 12 Dec 2017 12:02:46 +0100 Message-id: <20171212110246.11463-1-s.nawrocki@samsung.com> X-Mailer: git-send-email 2.14.2 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrFIsWRmVeSWpSXmKPExsWy7bCmmW71dv0og8uLeCxurTvHarFxxnpW iyNrrzJZzDzRzm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QFnCS OHC/hbmLkYODRUBVYvNTJZAwr4C1ROO9tWwQy+Ql3i+4zziBkWsBI8MqRsnUguLc9NxiowKj vNRyveLE3OLSvHS95PzcTYzA4Nh2WKt/B+PjJfGHGAU4GJV4eDd06UUJsSaWFVfmHmKU4GBW EuHtbtKPEuJNSaysSi3Kjy8qzUktPsQozcGiJM7Ln38sUkggPbEkNTs1tSC1CCbLxMEp1cB4 JFU+reB+Gv/Jv4nKxY3FVQZv1baqvvsczGt8+l+v6N2rvOs0WvV3zD1RHhq39pyRweON3h88 eedoWOy/lrto7gfBS22clU0rpb23+OueuVc0v35L6sE5Lh/nejJL3/hYYBXYl7xWuyIj58Vd LhejJ0urjt+znxxz5MnNoCcm82JPf77/3OGzEktxRqKhFnNRcSIAm1X4EgoCAAA= X-CMS-MailID: 20171212110322epcas2p11e3f36ba3de73a03f062b7877d797d2a X-Msg-Generator: CA CMS-TYPE: 102P X-CMS-RootMailID: 20171212110322epcas2p11e3f36ba3de73a03f062b7877d797d2a X-RootMTR: 20171212110322epcas2p11e3f36ba3de73a03f062b7877d797d2a References: <CGME20171212110322epcas2p11e3f36ba3de73a03f062b7877d797d2a@epcas2p1.samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171212_030353_068153_3E79BFA4 X-CRM114-Status: GOOD ( 11.35 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: linux-samsung-soc@vger.kernel.org, jtp.park@samsung.com, smitha.t@samsung.com, b.zolnierkie@samsung.com, kamil@wypas.org, a.hajda@samsung.com, Sylwester Nawrocki <s.nawrocki@samsung.com>, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc_enc.c b/drivers/media/platform/s5p-mfc/s5p_mfc_enc.c index 2a5fd7c42cd5..0d5d465561be 100644 --- a/drivers/media/platform/s5p-mfc/s5p_mfc_enc.c +++ b/drivers/media/platform/s5p-mfc/s5p_mfc_enc.c @@ -2080,7 +2080,7 @@ int s5p_mfc_enc_ctrls_setup(struct s5p_mfc_ctx *ctx) if (cfg.type == V4L2_CTRL_TYPE_MENU) { cfg.step = 0; - cfg.menu_skip_mask = cfg.menu_skip_mask; + cfg.menu_skip_mask = controls[i].menu_skip_mask; cfg.qmenu = mfc51_get_menu(cfg.id); } else { cfg.step = controls[i].step;
This patch fixes the menu_skip_mask field initialization and addresses a following issue found by the SVACE static analysis: * NO_EFFECT.SELF: assignment to self in expression 'cfg.menu_skip_mask = cfg.menu_skip_mask' No effect at drivers/media/platform/s5p-mfc/s5p_mfc_enc.c:2083 Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> --- drivers/media/platform/s5p-mfc/s5p_mfc_enc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)