From patchwork Thu Dec 1 10:36:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans Verkuil X-Patchwork-Id: 630070 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BE11DC43217 for ; Thu, 1 Dec 2022 10:36:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229679AbiLAKgc (ORCPT ); Thu, 1 Dec 2022 05:36:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229542AbiLAKgb (ORCPT ); Thu, 1 Dec 2022 05:36:31 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE658EB2 for ; Thu, 1 Dec 2022 02:36:28 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 9B369B81DEB for ; Thu, 1 Dec 2022 10:36:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 08629C433D6 for ; Thu, 1 Dec 2022 10:36:25 +0000 (UTC) Message-ID: <28e553f9-885f-68c9-f10b-4401a26669eb@xs4all.nl> Date: Thu, 1 Dec 2022 11:36:24 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Content-Language: en-US To: Linux Media Mailing List From: Hans Verkuil Subject: [GIT PULL FOR v6.2] A vb2 revert and compile/smatch/sparse fixes Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org "media: videobuf2: revert "get_userptr: buffers are always writable" reverts an oldish vb2 patch that broke a corner case. More importantly, I was unable to reproduce the original issue that prompted this patch. I did consider fast tracking this to 6.1, but I prefer to have it in 6.2 to give it more test time in case the original problem reappears. The other patches all fix various compiler/sparse/smatch warnings, cutting down on the noise in the daily build reports, and there are a few actual fixes as well. Regards, Hans The following changes since commit 6a5a4514854a637d01c50f5ea17b28f78b31ddb8: media: ipu3-cio2: make the bridge depend on i2c (2022-11-25 11:49:20 +0000) are available in the Git repository at: git://linuxtv.org/hverkuil/media_tree.git tags/br-v6.2j for you to fetch changes up to add4e87268c0bf59008281e1efce43b7e81e4140: media: rzg2l-cru: fix a test for timeout (2022-12-01 09:32:54 +0100) ---------------------------------------------------------------- Tag branch ---------------------------------------------------------------- Dan Carpenter (1): media: rzg2l-cru: fix a test for timeout Hans Verkuil (5): media: videobuf2: revert "get_userptr: buffers are always writable" media/frontend.h.rst.exceptions: add exceptions for new dvb defines media: dvb-frontends: drx39xyj: set missing error code media: i2c: tc358746: make DEFINE_RUNTIME_DEV_PM_OPS static media: sun6i-csi: clarify return value, fix uninited variable and add missing static Jiapeng Chong (1): media: rzg2l-cru: Fix missing error code in rzg2l_cru_start_streaming_vq() Lad Prabhakar (1): media: platform: renesas: rzg2l-cru: Add missing documentation for image_conv_irq Lin Ma (2): media: dvbdev: fix build warning due to comments media: dvbdev: fix refcnt bug Liu Shixin (1): media: saa7164: fix missing pci_disable_device() Nathan Chancellor (1): media: rzg2l-cru: Remove unnecessary shadowing of ret in rzg2l_csi2_s_stream() Randy Dunlap (1): media: dvb/frontend.h: fix kernel-doc warnings Documentation/userspace-api/media/frontend.h.rst.exceptions | 28 ++++++++++++++++++++++++++++ drivers/media/common/videobuf2/frame_vector.c | 10 +++++++--- drivers/media/common/videobuf2/videobuf2-dma-contig.c | 3 ++- drivers/media/common/videobuf2/videobuf2-dma-sg.c | 4 +++- drivers/media/common/videobuf2/videobuf2-memops.c | 6 ++++-- drivers/media/common/videobuf2/videobuf2-vmalloc.c | 4 +++- drivers/media/dvb-core/dvbdev.c | 2 +- drivers/media/dvb-frontends/drx39xyj/drxj.c | 1 + drivers/media/i2c/tc358746.c | 4 ++-- drivers/media/pci/saa7164/saa7164-core.c | 4 +++- drivers/media/platform/renesas/rzg2l-cru/rzg2l-cru.h | 2 ++ drivers/media/platform/renesas/rzg2l-cru/rzg2l-csi2.c | 4 +--- drivers/media/platform/renesas/rzg2l-cru/rzg2l-video.c | 1 + drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_bridge.c | 8 ++++---- include/media/dvbdev.h | 3 ++- include/media/frame_vector.h | 2 +- include/media/videobuf2-memops.h | 3 ++- include/uapi/linux/dvb/frontend.h | 7 +++---- 18 files changed, 70 insertions(+), 26 deletions(-)