Message ID | 20221208135512.421903-1-paul.kocialkowski@bootlin.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp207158wrr; Thu, 8 Dec 2022 05:56:22 -0800 (PST) X-Google-Smtp-Source: AA0mqf545k2QvUnTbPwMBfs7CwV/M4nRIpRjqc9Zx4A3jZpHIFDguSYJfIb8J3ZaP1ncCBDrzREA X-Received: by 2002:a17:90a:4605:b0:218:7dd7:ad4c with SMTP id w5-20020a17090a460500b002187dd7ad4cmr101176405pjg.224.1670507782627; Thu, 08 Dec 2022 05:56:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670507782; cv=none; d=google.com; s=arc-20160816; b=QgqKIEHOjMA7TRDkfB4kQj8se/5eXzOpzVxlwib7cz9MmwzuQf4UoaRo826iOfEJpo 9Oa7fI6+v1uZXrQoqlx/maJqsC/8tB6glToiYLhnztNF0PaujN/dawFwjwmjm5ELcp6s VqzLzb69mhraP6WL0xk9dwaUoFQfActnu1uLgYyrqJ6liW49b3LyXgvdr6Ym38Xpfu15 Ijrk1sWp67no8AH3xeFfYfzUJ3fZ/iKEQXOQR2vtkq/eYH7te0p5pHoJT6MCWoPygp2P WWlKMH0HRdXMCunZQrf03tlE9kk0IoMjFLgaTHlxeCQHXTdhFhUUA6pTOAIRv9Qs+M3t F1+Q== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mp17-20020a17090b191100b002132058f474si3935219pjb.178.2022.12.08.05.56.08; Thu, 08 Dec 2022 05:56:22 -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 <rfc822;foxyelen666@gmail.com> + 99 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 <rfc822;linux-kernel@vger.kernel.org>); 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 <paul.kocialkowski@bootlin.com> 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 <yong.deng@magewell.com>, Paul Kocialkowski <paul.kocialkowski@bootlin.com>, Mauro Carvalho Chehab <mchehab@kernel.org>, Chen-Yu Tsai <wens@csie.org>, Jernej Skrabec <jernej.skrabec@gmail.com>, Samuel Holland <samuel@sholland.org>, Thomas Petazzoni <thomas.petazzoni@bootlin.com>, Hans Verkuil <hverkuil@xs4all.nl>, Sakari Ailus <sakari.ailus@iki.fi>, Conor Dooley <conor@kernel.org>, Nathan Chancellor <nathan@kernel.org> 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751646360926610556?= X-GMAIL-MSGID: =?utf-8?q?1751654368674018608?= |
Series |
Allwinner A31/A83T CSI/ISP/MIPI CSI-2 media fixes
|
|
Message
Paul Kocialkowski
Dec. 8, 2022, 1:55 p.m. UTC
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(-)