Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3693297rwb; Fri, 16 Dec 2022 20:26:29 -0800 (PST) X-Google-Smtp-Source: AMrXdXvWZ0PBSz8CV58uox9ACod2VVdeLmAR6g9VSRi3S/6hv4NXM6bg9BWDkEgAT3eBiPyupZ+H X-Received: by 2002:a50:fc08:0:b0:473:ae62:40d0 with SMTP id i8-20020a50fc08000000b00473ae6240d0mr7946310edr.7.1671251189306; Fri, 16 Dec 2022 20:26:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671251189; cv=none; d=google.com; s=arc-20160816; b=ZXwH6u/MqJK7FiayCgDoHtJpgfDkwdQ6DugBHkorzNg95GEWL+8bIGO0nxYlTWE8Tc QaMZycFUuCYe7b8iSaacX2uJ/CE86Kb3elDFLkdLcYIsm4oU+CJ0qP2al94Cjkbp3PKe IcauJWy7D+PnFlatcgZCsi4MSpO13Uc9FNrEpJFXlAw7m+aY/lvFWty/zAlKv0Wf35CT WNsZxh0BiRfRwtnZ4YCV4bNjcCUeJqKmg/1xgh3SCNCsrU0G9ydARGy1uz3BRwTtLjna imTBZHiqm1Jif6StqakXVvJ6w/qsN+fTNzCaG7GlLJ9cih+8FwOCzimOF3AiY3FaxDcU CVVQ== 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:to:from:cc:in-reply-to:subject:date:dkim-signature; bh=GH65Lzu8yLs0gJVkepUjZHRstDYH/hcDoJoKZUFbNI0=; b=n7WiTnrTBL7XorayXJxag+3CBE8JfOzDE7AfkCky0U5Lly/XbV7EsxrWw5eIYn+FEA 2dG9V/uKloVgZiwZJRfPJbDKM0VJjcVn9wz9A14+T3mXyY4qad1VftDJj55M/1BFulZj QE/kQ+lpbbZ16KpQEiFiXCBI3fxiWm5TgQzUsKpnTRRY7E9/yF4TUxHU1u0RkqK+nuO0 CNPwqqI0D1nhZi4V8YpTGylEpsJC+GZv+Ic0SSDx9Ps1PjGge2bNuniU9SVuXaYB7x+l wSw5bN15q23aoUjZ4poYO8Z29SIUK2oEKSNDkSPG7WRGlpS0arUXePT/woHNoDCEWvOY ta3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rivosinc-com.20210112.gappssmtp.com header.s=20210112 header.b=VZZXRW4I; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l5-20020aa7c3c5000000b0046b0205ab58si3555107edr.580.2022.12.16.20.26.11; Fri, 16 Dec 2022 20:26:29 -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=@rivosinc-com.20210112.gappssmtp.com header.s=20210112 header.b=VZZXRW4I; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229674AbiLQEMo (ORCPT + 70 others); Fri, 16 Dec 2022 23:12:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45104 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229655AbiLQEMk (ORCPT ); Fri, 16 Dec 2022 23:12:40 -0500 Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B9DC0D124 for ; Fri, 16 Dec 2022 20:12:38 -0800 (PST) Received: by mail-pj1-x1034.google.com with SMTP id w4-20020a17090ac98400b002186f5d7a4cso8039782pjt.0 for ; Fri, 16 Dec 2022 20:12:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:to:from:cc :in-reply-to:subject:date:from:to:cc:subject:date:message-id :reply-to; bh=GH65Lzu8yLs0gJVkepUjZHRstDYH/hcDoJoKZUFbNI0=; b=VZZXRW4I9PQi2pbj5Y12OzivoOtSdKGKXyCQxQ5m8NjibG+fHEtUA2GpOjdmFdZa64 9D61uvDRarEr0gMPekNM40CsY+NrmD7+B17uPqk/8GZSIX1Y2RmlVAoZvYdzkoNVtmel WmYMFCrlJ/c2Qtd5viIPTqjrXsTJydcvKWbqI3Y3HUpiZsW4dwLAzdWRuzNryaUkSgqM YxxXX6VvD6PAeUuuXFdKuN5wPsuRNmtEpyqaiXskTWr9Jvj5wsvZYaIzDcxnnJf6w7T1 yuZsRB9wsDNH1/1sttcJAkuO1RoTImQx6aznupM1NL9+lcffPNaM75Q/pmY2sIHsHPvU RTaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:to:from:cc :in-reply-to:subject:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=GH65Lzu8yLs0gJVkepUjZHRstDYH/hcDoJoKZUFbNI0=; b=7s29CBRAYoDG/S+D5yK4ojhxFo0l+jRnpIVYtNysaPr6UoBmM3QdunbwKKnZUjBm03 rmHBp2CZZI2pZj+g5Sm+oxoL1TY/hM1S361Wp5B3+zS6WOly72e+UGDFf0wpIy4sBb1U pClE5e/+nGLtreKV0drvBx9r4Sw8DlfzptY/gM1xs6P/kn6E5sO1Q3uLlg6TWp9XZOpT YBNf3ZtXMQ21GV43D4bfuTGsCR0FzhHUliH+b+RF8GxDeJD1tHosld2PSkQo8YY4uYjn vRAZ210k185EvXBky7bDBC3uIJuKYIxIp+OHPnu/ZRrAAV/JsVKw7J31EnWfM/TUot7Z Spfg== X-Gm-Message-State: AFqh2kpWn40xv6GoA8ez8RQVvV77ZXIN31tGIY5Nx61VsB2fdDu9I54K JHnal1TmBm0pCjDoMCXJu1zi1A== X-Received: by 2002:a17:902:a612:b0:18c:cde:fdda with SMTP id u18-20020a170902a61200b0018c0cdefddamr801217plq.37.1671250358215; Fri, 16 Dec 2022 20:12:38 -0800 (PST) Received: from localhost ([135.180.226.51]) by smtp.gmail.com with ESMTPSA id y2-20020a17090264c200b00189adf6770fsm2383636pli.233.2022.12.16.20.12.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Dec 2022 20:12:37 -0800 (PST) Date: Fri, 16 Dec 2022 20:12:37 -0800 (PST) X-Google-Original-Date: Fri, 16 Dec 2022 20:12:29 PST (-0800) Subject: Re: [PATCH v3 00/12] Allwinner A31/A83T CSI/ISP/MIPI CSI-2 media fixes In-Reply-To: <20221208142006.425809-1-paul.kocialkowski@bootlin.com> CC: 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, yong.deng@magewell.com, paul.kocialkowski@bootlin.com, mchehab@kernel.org, wens@csie.org, jernej.skrabec@gmail.com, samuel@sholland.org, thomas.petazzoni@bootlin.com, hverkuil@xs4all.nl, sakari.ailus@iki.fi, Conor Dooley , nathan@kernel.org From: Palmer Dabbelt To: paul.kocialkowski@bootlin.com Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,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 On Thu, 08 Dec 2022 06:19:54 PST (-0800), paul.kocialkowski@bootlin.com wrote: > 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. Thanks. These also fix a handful of warnings I'm seeing when building with clang. Reviewed-by: Palmer Dabbelt > 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(-)