Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1177073rwb; Thu, 8 Dec 2022 07:35:35 -0800 (PST) X-Google-Smtp-Source: AA0mqf4RvfJJeW5+YI+Dk7Yq5nyi7j2qv2hRK9oCoAxR9Zb0iNmawybApCo4aEWCSueePr/b7l1t X-Received: by 2002:a17:907:d412:b0:7bc:68cc:7913 with SMTP id vi18-20020a170907d41200b007bc68cc7913mr51358788ejc.589.1670513735716; Thu, 08 Dec 2022 07:35:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670513735; cv=none; d=google.com; s=arc-20160816; b=ohXKoSu4xgLeBIzu2qZAFEZ01Aeo3l4Kq9C9iQ+7JskU+2/miA3JbcO/Sz3s4JlkW0 SgtDU1uhcqLj8nl+xpN6k9XEDy8nI1awk2pZAXoMbizGgy3dNUs03KCMxIHL5gMgLD/l 7wmsLThW8rRQo929jKpmRPCEsdrlz/ZpaPJk2Z83zVsRc/uemsdRDBkZN/2Z6AGkv9q8 cazk+yBhHth09aKEiLIj9KB+sZTclUd11IIcABJRk3ayR37kh0wRyuYLJNqssCo9oBat vwTp8vqgAPIcnVLhBPZe94Uv4fE9doZZrvjqSCuhC9UtuCA4OR1IcGi5oQreIyNtWJWv vzyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Er/zpDRtCQXlbS772FbVkPP0n/UrKmzzmTIs7nTLoI4=; b=pcQJDP1U5VftFa90qAD4PVRskc5aBEHZ+NQ56frEr9cDaIj2Jk55gudF6o00uNqroP 5FnR3OXyXrgCcgShJJuWB15SvPRJKqt5w1ipULu7CkDIfex5aVZcx6tftTaU4pSz5i+t pWqidWGQ6uV4WYUSC3uMkNrWlbvb3m/HbzkK5Xdhr1uNqv999Bvjay91xyR2vv/MphhP RLlIIQOG0u2r4EWZmiBQL+741S4Jwvjuj4Rr9t2zMUikWo1jmFdeGg4MsOmsPyuY1DmF lWk7njZZg2xb73aQFFf0oBhBUv8Wyq/j8IxW/elmTsQHjFhq0MDhs6XKHy6yAZi21Gf5 PCxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=n1k1Yf0W; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d26-20020aa7d69a000000b0046187ab5c1bsi6465070edr.512.2022.12.08.07.35.11; Thu, 08 Dec 2022 07:35:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=n1k1Yf0W; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229812AbiLHOUc (ORCPT + 72 others); Thu, 8 Dec 2022 09:20:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229501AbiLHOUa (ORCPT ); Thu, 8 Dec 2022 09:20:30 -0500 Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::226]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4362ED2FD; Thu, 8 Dec 2022 06:20:29 -0800 (PST) Received: (Authenticated sender: paul.kocialkowski@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id C0F00C0010; Thu, 8 Dec 2022 14:20:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1670509227; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=Er/zpDRtCQXlbS772FbVkPP0n/UrKmzzmTIs7nTLoI4=; b=n1k1Yf0W5V1TTM6CadsEXCVgumhJKTHTq0FWkWUdr9QeBrRsW1ZBLXAs8O0UiZV0hRlV8P wiqNfUm97nmrAPO4f2GrajxSfnn81eoI9sxm6IH5KxBd1iLIbhKKDchR22kKkOLrzZB0Ts hfC2q4CQ9x9K3PpllK+Gm//rzFDWZybKnRsnm0o3VaU3ybwqP/HeMK8jWNuSIcXQm+HSaI Zm0kzal1hQd3Qjh8uFX5nwmWdhssmVKgj/QhTWtzuMsVfPwcLRJ7IRx+fZuwjAHiIWvXSc IBjokKolhZ+pWOxEmvE6OVclNUabiWdcTSFneZXGFwOqkXcbU6WBYGl3/76rUw== From: Paul Kocialkowski To: linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev Cc: Yong Deng , Paul Kocialkowski , Mauro Carvalho Chehab , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Thomas Petazzoni , Hans Verkuil , Sakari Ailus , Conor Dooley , Nathan Chancellor Subject: [PATCH v3 00/12] Allwinner A31/A83T CSI/ISP/MIPI CSI-2 media fixes Date: Thu, 8 Dec 2022 15:19:54 +0100 Message-Id: <20221208142006.425809-1-paul.kocialkowski@bootlin.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series resolves reported smatch warnings against the recently-introduced Allwinner A31/A83T CSI, ISP and MIPI CSI-2 drivers. Smatch was ran again on the updated tree and no longer shows any error or warning. Changes since v2: - Added isp params pending buffer fix; - Added fixes tags where needed; - Reworded cosmetic commits; - Changed sunxi-isp to the proper sun6i-isp. Changes since v1: - Added fixes for static struct declarations; - Fixed ISP commit titles by replacing bridge with proc. Paul Paul Kocialkowski (12): media: sun6i-csi: bridge: Fix return code handling in stream off path media: sun6i-csi: bridge: Error out on invalid port to fix warning media: sunxi-csi: bridge: Declare subdev ops as static media: sun6i-csi: capture: Remove useless ret initialization media: sun6i-mipi-csi2: Clarify return code handling in stream off path media: sun8i-a83t-mipi-csi2: Clarify return code handling in stream off path media: sun6i-isp: proc: Fix return code handling in stream off path media: sun6i-isp: proc: Error out on invalid port to fix warning media: sun6i-isp: proc: Declare subdev ops as static media: sun6i-isp: capture: Fix uninitialized variable use media: sun6i-isp: params: Fix incorrect indentation media: sun6i-isp: params: Unregister pending buffer on cleanup drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_bridge.c | 8 ++++---- .../media/platform/sunxi/sun6i-csi/sun6i_csi_capture.c | 2 +- .../platform/sunxi/sun6i-mipi-csi2/sun6i_mipi_csi2.c | 5 ++--- .../sunxi/sun8i-a83t-mipi-csi2/sun8i_a83t_mipi_csi2.c | 5 ++--- drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_capture.c | 4 ++-- drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_params.c | 6 ++++-- drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_proc.c | 8 ++++---- 7 files changed, 19 insertions(+), 19 deletions(-) -- 2.38.1