Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1024261rwb; Thu, 8 Dec 2022 06:01:44 -0800 (PST) X-Google-Smtp-Source: AA0mqf5x7KilJt6+HTB1/Qj7HwfI5aLndF4/cWdFAt1bdtqPnQZ+t7+EfdYjBfX3qG/mONclMwFx X-Received: by 2002:a63:7111:0:b0:478:a6de:4d1b with SMTP id m17-20020a637111000000b00478a6de4d1bmr19424560pgc.95.1670508104005; Thu, 08 Dec 2022 06:01:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670508103; cv=none; d=google.com; s=arc-20160816; b=YwbyEnSnmVS9WEPu3VRFPhwTaUk5f9PTPiXmBe691WZGnuPUAaST142mGjK35XRzuF 3StbMK2yK4X/OxwQxMKESlC/EP5HfZxYbc0dCMeOHzNJI5ueUlrg8AL+nu1UZdH1mPI2 hbVaU+jK08k4KNmXhromO+iuTMTKF2ZZCvwC+/+C2yztBvcMzsMn9mpV72P2y4qum7Am L/ZGXn5/RpaqJ7d8CFAHqfIgcFULKQUV+H71AC68plssMyWO+mVGRk5Wt5KYdruTPEIv dYb0BoUeijxysAkLFqzqFQb4XsgfsTvmd1Ho4UTUIgByoC1afh6UTxoY6ZqNCr7J9AIS Vj1A== 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=D72yUqu7m48k5zBuzbm447wtIHbUMxzdY7+zPY816tM=; b=yK/ewgz8rGYY9EMv1JfDM/+RUFu5yEPl8VGRNXTTqIL+ooHN2in2hEz+DHjziWKL+l V/s5Zl6F+34SW94JcthqYLdmuffWRx41A46jvb08ya0KY9nzgw6bA6AJ9tzxlaiVRmgM XvZg1MAc0iow2lF6CouFy9tbD/TGqlam7hLgNNhbOJ5PtRaY6yJA5WBhz4sow6kh7Vno YKadCRU6hUxHBt/R3NcXgtZBw4+WTbnHJBvOJfc+qpDsblM64q7EdHEFN1x0bwxV9Mh0 xdayYwUrerBfEjHXS5hq//w/qB9QnzHd0ajv5U0K1HraZ6x3FhpPzkGbPTsTDf8IM75y tqyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=Ki39pHvr; 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 g3-20020a635203000000b0043a20d57b46si23296774pgb.826.2022.12.08.06.01.19; Thu, 08 Dec 2022 06:01:43 -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=Ki39pHvr; 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 S230004AbiLHNzn (ORCPT + 74 others); Thu, 8 Dec 2022 08:55:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229967AbiLHNzl (ORCPT ); Thu, 8 Dec 2022 08:55:41 -0500 Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::227]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B39D5E3F8; Thu, 8 Dec 2022 05:55:40 -0800 (PST) Received: (Authenticated sender: paul.kocialkowski@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id D58BE20012; Thu, 8 Dec 2022 13:55:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1670507737; 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=D72yUqu7m48k5zBuzbm447wtIHbUMxzdY7+zPY816tM=; b=Ki39pHvrZGR1tB37rKL2j2WxQxZcVVgHLXL7ZfngRZ2bhy5vGzHnmHcUDFAXIPnAggYEGd HR/e09BIj91eRIAslhIxuACBNk/rmCl9GyIckvVtp4FiTZu5NrWM+CiprqDynhcGo5zj0W 4/zal0uXw5CgLPiFYWneJzBvTfsEleZlPA7eIub49nMz6854/l/8DNwHdN14QUyX8PQQMe AI1CUSjRjk5sVQSYyjljYN6M0AFIUw+3LDk+2yJHS3pJS7QpWIHIQQtQ6gAtyjLErgwH7p tpl53YYMUeb7M/mXN36Z7qtLSFATwyGIFvKIQi9img8reIU6omcDpN4QoyHqzQ== 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 v2 00/11] Allwinner A31/A83T CSI/ISP/MIPI CSI-2 media fixes Date: Thu, 8 Dec 2022 14:55:01 +0100 Message-Id: <20221208135512.421903-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 v1: - Added fixes for static struct declarations; - Fixed ISP commit titles by replacing bridge with proc. Paul Paul Kocialkowski (11): 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: Fix return code handling in stream off path media: sun8i-a83t-mipi-csi2: Fix 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: sunxi-isp: proc: Declare subdev ops as static media: sun6i-isp: capture: Fix uninitialized variable use media: sun6i-isp: params: Fix incorrect indentation 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 | 4 ++-- drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_proc.c | 8 ++++---- 7 files changed, 17 insertions(+), 19 deletions(-) -- 2.38.1