Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp901884rwb; Thu, 8 Dec 2022 04:33:17 -0800 (PST) X-Google-Smtp-Source: AA0mqf7tQWmXH3JSoGcNjogfWmsVoVB9f6xZ456u0b2g54WdBYMELbE0eq0qDhvNFFds5BBOWnUr X-Received: by 2002:a63:f406:0:b0:44b:89b6:3026 with SMTP id g6-20020a63f406000000b0044b89b63026mr69776957pgi.115.1670502797260; Thu, 08 Dec 2022 04:33:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670502797; cv=none; d=google.com; s=arc-20160816; b=I5/r7LCIsacKUAsxpCRtz1D/P2LPLwWMwutEcXqifloSmSJLXBfL5ZxQ0KjE5zQGfn kE0xftRUS2JkikLaInFVDfb2d2+ekfwb/z3u2yYM1hICM05fVz0WC7UYcx1Yy/u1Y//f uABTKq2Wp3lxyInNkKG75q5Z0S+JbUbPj8pFUbP3onxUN4bmsBEhNfvOFCQdc2EjBlTC l1jf54QaTyfyabYJVkR+jyVy4HPTpPM1zm50i5X/I4WKJCLvgIOyXaHfJnqbh0/PQD/I zTHvN8m3fLYBdSZC3/AEBZofh8k4N1/PSUoGspdsf9D2miCiURgAZtZsJKM3pzXptp6L gHLA== 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=EmSSWfmAQotsz56jadZuCs8HLkx1/zaw7zypFRHxTzA=; b=SLShOZik81tI8G9Z7syWMlQZ2oAlgarPWy6dGDTc0wDyFAgmq/de2OqMU3JJuv0IEY JvRHfECg6k6ghVah/vneajSmI/HSwKlpDVIryo45DrNkIJ8X+UFGXHfj3T9xVKfSE5+B 81gXiFKMF+s1y5fTVS+++yj8w5xiDfGo06i6+UhD/uMJ4P0bYcMSX++lY9Tni/IKV7QR 7VfV1jLIQQ7IU0ajRDGDP5lOMbvo6coE/W9kzvELMhU7cLHK6Cj0EzQO37mW44bJCA3W t48B5HA+glru4RQcQMc+UudEXNk+FTUU+pkQMLEAH3R9nmFSj7iNCwFkmm1s/80gqFCS eSrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=JLwMm0zC; 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 s11-20020a65584b000000b004774d8c6191si23367459pgr.413.2022.12.08.04.33.07; Thu, 08 Dec 2022 04:33:17 -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=JLwMm0zC; 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 S229951AbiLHLsS (ORCPT + 72 others); Thu, 8 Dec 2022 06:48:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229930AbiLHLsE (ORCPT ); Thu, 8 Dec 2022 06:48:04 -0500 Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::221]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C54828E15; Thu, 8 Dec 2022 03:48:02 -0800 (PST) Received: (Authenticated sender: paul.kocialkowski@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id C5A41240002; Thu, 8 Dec 2022 11:47:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1670500081; 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=EmSSWfmAQotsz56jadZuCs8HLkx1/zaw7zypFRHxTzA=; b=JLwMm0zCVgvV2F7IT+WF6yPqCD5i5Q4ZRDawrLicalqRo8RcSI6PVjkD8shzhnHVJgo/+h AHgoDlJFKU5+BiaDWVWyA+8cKAVxUTSnW4vas492QTYn9clMdpyIphIpSDImQAntlBvy/+ LG/lMHaEgSXohpxQwIPnW7ITScOWZfmbWE3YXnoOSWHMlJ/kvVTqqbMcUaWrK/YwPUTMJn ltT8Gl3WswWOw+8F0yBr4BaXOLWY4ScBskJpLbw72bfFpcuoVXzRaJl+94TICWExn+ydoP 4iSAucvreDOidYTIud1saqEI7Qky0Ad6PlsE8D6JeQNqWNR15XEMOQ6Z0/E5Ig== 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 Subject: [PATCH 0/9] Allwinner A31/A83T CSI/ISP/MIPI CSI-2 media fixes Date: Thu, 8 Dec 2022 12:47:33 +0100 Message-Id: <20221208114742.399461-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. Paul Paul Kocialkowski (9): media: sun6i-csi: bridge: Fix return code handling in stream off path media: sun6i-csi: capture: Remove useless ret initialization media: sun6i-csi: bridge: Error out on invalid port to fix warning 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: bridge: Fix return code handling in stream off path media: sun6i-isp: bridge: Error out on invalid port to fix warning 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 | 6 +++--- drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_capture.c | 2 +- .../media/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 | 6 +++--- 7 files changed, 15 insertions(+), 17 deletions(-) -- 2.38.1