Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp913929rdb; Fri, 26 Jan 2024 15:18:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IG5iMGtGgPjYN6DqmeSiAK/UsNjf31C40Va/EfWbux1RmQXI0DPbCnClqvR/WnmaG7KsBZb X-Received: by 2002:a05:620a:4094:b0:783:c11e:bb3a with SMTP id f20-20020a05620a409400b00783c11ebb3amr750172qko.10.1706311112046; Fri, 26 Jan 2024 15:18:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706311112; cv=pass; d=google.com; s=arc-20160816; b=d0OzVxS2tQEJPZ+LJuGJuwYffx0UPieBc26EhPkR+GV3YcHyPEpCl/tLDHqdc/g6Kg 9z2M3aHoAgR4hRBtw4BrWq63tWugCxnJ5Dc1LEijK86nCVw3Mj9YJJ7BcOvFxITJDOcS SgkIkb20Gj7Kp8ZLeXixiZH05QSlx2No6JpkuhXTXc4F+CeF74B6Kx29sEeNl9/3QXH2 GK14IVAKKLRkW4H2VzZaVXpSVMKPnnaoqQIpaiPc5hIp1XCAnxCPl4OgHy0mthyGEOok VfDUkesqTAdkSn6l+TE9Hg0VZRZb8Q7CxQ9IDD/2WuEg7llfcrSrA0l6ZqufEogNkH1N q07g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=yKZ2I0FgT+c8VUKnt1mK+wIxC1JMtHjQ/OWMUKXoVdE=; fh=OSrJNbj+8S6AzSmIaZjMzeOT7crYO3DQlxVMz8SQo/I=; b=IL6X75mWQ381WfPPKqIDtCs8czpAL9K7hkQEoXah35aWGlVtdWDP2EMOCTc0K/KKeI DHrQCPORYHm8CGIYa+5QWHpm6yFfm6MK9EM0Ez8zposoN11uB7ZyztMxRsa14+d07tw2 PE8tNXP2bCdOrcjjgk5xacVhbfrhyd7AXDpMSkD/igeR53aAaRsGN+gku7YyGNscQyRQ FufEHS9LVr8ZnTsl/6fVsA4faH93KTGUib/gpFyqGWqt2QQJOXzeL5IpOcpVrhbCPTWV 5vTIYPO6jjD+o90CBTXsWD37NWxJ8+CPQt65Kaa8jwCNgWrcr2MX38h6AMANvImu5N2U ViBg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=oJy1CgN5; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-40820-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40820-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id pj29-20020a05620a1d9d00b00783b3c9be0fsi2186926qkn.481.2024.01.26.15.18.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 15:18:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-40820-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=oJy1CgN5; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-40820-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40820-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id BCB331C22C74 for ; Fri, 26 Jan 2024 23:18:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 17F835BAC0; Fri, 26 Jan 2024 23:16:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="oJy1CgN5" Received: from mail-qk1-f174.google.com (mail-qk1-f174.google.com [209.85.222.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DA0845A115 for ; Fri, 26 Jan 2024 23:16:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706310970; cv=none; b=P294nJZrfQ1GVtqrmJ02op3FY3iqYFyLjkd+l5/uIJdmt3bWWvyJfqNzBlMmxXNYtr++Gyxdr4lUwpoV/QmoWws7HFLUmRzyuXV4K7RIwRA1dCZaHPHK/4l0+5wX5exMid8bsVPKD5dyYg/ENWleCgaZZBnuwPS+mN+pErjjVkc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706310970; c=relaxed/simple; bh=GhTHyKYpLdDQHYJccb0YJVMX/ipsIOS1bQVmw69ltqg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ZVuTbMY/CmuxQPWnMb2bg9C5D2d9t7ddrZBgGs2SozkXTI5Ie0Jctsof/g24c8ackCuEZ9yycT1BrTAbhjT1IA4LhLQUc7TFjFTU6bpNeDTnfhM6x8SuneZJy12bL3pF2PrE5wX3g6pQHY5WYWfLM+8F6wCJ2MnvnHraTzQpT30= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=oJy1CgN5; arc=none smtp.client-ip=209.85.222.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-qk1-f174.google.com with SMTP id af79cd13be357-783ced12f9bso52801685a.3 for ; Fri, 26 Jan 2024 15:16:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1706310967; x=1706915767; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=yKZ2I0FgT+c8VUKnt1mK+wIxC1JMtHjQ/OWMUKXoVdE=; b=oJy1CgN5SfIPKCq2tLKWxaPB6qqAKJWMa6hqD9Yll3zok5+sRpZrVGcbtkXNd8UvdX DVe6c1FlYpsPEgrV0Chs/KZ8SWgh4gucLbuyqgMslF8GEHY0uD5HAbchlODpClFlZ1ox 9B+kYSxpU0sDUwAM2kYXHofhZvgjVetm+oGTQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706310967; x=1706915767; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=yKZ2I0FgT+c8VUKnt1mK+wIxC1JMtHjQ/OWMUKXoVdE=; b=Zf+KUFkl7Y0mICP6SwyYiqW8z0tSVxd0fv9P7yUorvX3qmzybTBMwCTPi3gN4hRuKg VBMLTlUPE4/ENpcOM5YlAmQtUgkyEzkJpeaAGVIf+fJ/yGTTI92W1m0lGpTuBDif+5Bc z6NEzGQ7WdnLbGR4E2v2zZ5OBLcuyPtpeqQWJtSFj6LjOSE0gYO6wD9yiZXQrl9dNoPw gwRJSGW8HKbXyRmV/8jijV7H5AMHFCIjC2l3QpdWHeQRI13vfiTrbHpkWQSFJ88fFb5/ V2kEKJa3FuhswWtN/gkUehXvk9EZnq/5OUXYRoOzWf/S4eeLMjZ8k3d8JBWS6V8ouiZ3 aAog== X-Gm-Message-State: AOJu0YyxUeKUUk3QNSGyyDIZOlzGOC2G3mLVvrI5Aet757bddR0r2uwK PcZe8Pv1JFyFMnFH2wDI6Nhke+wU6VO9QUMDP2rsj1SEzKE5TBC6qMocUhSXxQ== X-Received: by 2002:a05:620a:3888:b0:783:3cee:425a with SMTP id qp8-20020a05620a388800b007833cee425amr491959qkn.141.1706310966713; Fri, 26 Jan 2024 15:16:06 -0800 (PST) Received: from denia.c.googlers.com (240.157.150.34.bc.googleusercontent.com. [34.150.157.240]) by smtp.gmail.com with ESMTPSA id m4-20020a05620a290400b00783de3ddf5esm507358qkp.70.2024.01.26.15.16.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 15:16:05 -0800 (PST) From: Ricardo Ribalda Date: Fri, 26 Jan 2024 23:16:01 +0000 Subject: [PATCH 02/17] media: videodev2.h: Fix kerneldoc Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240126-gix-mtk-warnings-v1-2-eed7865fce18@chromium.org> References: <20240126-gix-mtk-warnings-v1-0-eed7865fce18@chromium.org> In-Reply-To: <20240126-gix-mtk-warnings-v1-0-eed7865fce18@chromium.org> To: Tiffany Lin , Andrew-CT Chen , Yunfei Dong , Mauro Carvalho Chehab , Matthias Brugger , AngeloGioacchino Del Regno , Sakari Ailus , Laurent Pinchart , Hans Verkuil , Hans Verkuil , Kieran Bingham , Bin Liu , Ezequiel Garcia , Philipp Zabel , Stanimir Varbanov , Vikash Garodia , Bryan O'Donoghue , Bjorn Andersson , Konrad Dybcio , Sylwester Nawrocki , Krzysztof Kozlowski , Alim Akhtar , Marek Szyprowski , Andrzej Hajda , Bingbu Cao , Tianshu Qiu , Greg Kroah-Hartman , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-staging@lists.linux.dev, linux-amlogic@lists.infradead.org, Ricardo Ribalda X-Mailer: b4 0.12.3 Named nested unions need their prefix: https://www.kernel.org/doc/html/latest/doc-guide/kernel-doc.html#nested-structs-unions Signed-off-by: Ricardo Ribalda --- include/uapi/linux/videodev2.h | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h index 68e7ac178cc2..a8015e5e7fa4 100644 --- a/include/uapi/linux/videodev2.h +++ b/include/uapi/linux/videodev2.h @@ -1041,13 +1041,13 @@ struct v4l2_requestbuffers { * struct v4l2_plane - plane info for multi-planar buffers * @bytesused: number of bytes occupied by data in the plane (payload) * @length: size of this plane (NOT the payload) in bytes - * @mem_offset: when memory in the associated struct v4l2_buffer is + * @m.mem_offset: when memory in the associated struct v4l2_buffer is * V4L2_MEMORY_MMAP, equals the offset from the start of * the device memory for this plane (or is a "cookie" that * should be passed to mmap() called on the video node) - * @userptr: when memory is V4L2_MEMORY_USERPTR, a userspace pointer + * @m.userptr: when memory is V4L2_MEMORY_USERPTR, a userspace pointer * pointing to this plane - * @fd: when memory is V4L2_MEMORY_DMABUF, a userspace file + * @m.fd: when memory is V4L2_MEMORY_DMABUF, a userspace file * descriptor associated with this plane * @m: union of @mem_offset, @userptr and @fd * @data_offset: offset in the plane to the start of data; usually 0, @@ -1085,14 +1085,14 @@ struct v4l2_plane { * @sequence: sequence count of this frame * @memory: enum v4l2_memory; the method, in which the actual video data is * passed - * @offset: for non-multiplanar buffers with memory == V4L2_MEMORY_MMAP; + * @m.offset: for non-multiplanar buffers with memory == V4L2_MEMORY_MMAP; * offset from the start of the device memory for this plane, * (or a "cookie" that should be passed to mmap() as offset) - * @userptr: for non-multiplanar buffers with memory == V4L2_MEMORY_USERPTR; + * @m.userptr: for non-multiplanar buffers with memory == V4L2_MEMORY_USERPTR; * a userspace pointer pointing to this buffer - * @fd: for non-multiplanar buffers with memory == V4L2_MEMORY_DMABUF; + * @m.fd: for non-multiplanar buffers with memory == V4L2_MEMORY_DMABUF; * a userspace file descriptor associated with this buffer - * @planes: for multiplanar buffers; userspace pointer to the array of plane + * @m.planes: for multiplanar buffers; userspace pointer to the array of plane * info structs for this buffer * @m: union of @offset, @userptr, @planes and @fd * @length: size in bytes of the buffer (NOT its payload) for single-plane @@ -2423,15 +2423,15 @@ struct v4l2_meta_format { /** * struct v4l2_format - stream data format - * @type: enum v4l2_buf_type; type of the data stream - * @pix: definition of an image format - * @pix_mp: definition of a multiplanar image format - * @win: definition of an overlaid image - * @vbi: raw VBI capture or output parameters - * @sliced: sliced VBI capture or output parameters - * @raw_data: placeholder for future extensions and custom formats - * @fmt: union of @pix, @pix_mp, @win, @vbi, @sliced, @sdr, @meta - * and @raw_data + * @type: enum v4l2_buf_type; type of the data stream + * @fmt.pix: definition of an image format + * @fmt.pix_mp: definition of a multiplanar image format + * @fmt.win: definition of an overlaid image + * @fmt.vbi: raw VBI capture or output parameters + * @fmt.sliced: sliced VBI capture or output parameters + * @fmt.raw_data: placeholder for future extensions and custom formats + * @fmt: union of @pix, @pix_mp, @win, @vbi, @sliced, @sdr, + * @meta and @raw_data */ struct v4l2_format { __u32 type; -- 2.43.0.429.g432eaa2c6b-goog