[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20260127002122.1356964-1-zeri@umich.edu>
Date: Mon, 26 Jan 2026 19:21:22 -0500
From: Henry Zhang <henryzhangjcle@...il.com>
To: "Michael S . Tsirkin" <mst@...hat.com>,
Jason Wang <jasowang@...hat.com>
Cc: Xuan Zhuo <xuanzhuo@...ux.alibaba.com>,
Eugenio Pérez <eperezma@...hat.com>,
virtualization@...ts.linux.dev,
linux-kernel@...r.kernel.org,
Henry Zhang <zeri@...ch.edu>
Subject: [PATCH] virtio: document map and vmap fields in struct virtio_device
These fields were added in commit bee8c7c24b73 ("virtio: introduce map
ops in virtio core") but the kernel-doc comments weren't updated.
Signed-off-by: Henry Zhang <zeri@...ch.edu>
---
include/linux/virtio.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/linux/virtio.h b/include/linux/virtio.h
index 63bb05ece8c5..b8e791f7b687 100644
--- a/include/linux/virtio.h
+++ b/include/linux/virtio.h
@@ -157,11 +157,13 @@ struct virtio_admin_cmd {
* @id: the device type identification (used to match it with a driver).
* @config: the configuration ops for this device.
* @vringh_config: configuration ops for host vrings.
+ * @map: memory mapping operations, or NULL to use DMA API.
* @vqs: the list of virtqueues for this device.
* @features: the 64 lower features supported by both driver and device.
* @features_array: the full features space supported by both driver and
* device.
* @priv: private pointer for the driver's use.
+ * @vmap: context for @map operations.
* @debugfs_dir: debugfs directory entry.
* @debugfs_filter_features: features to be filtered set by debugfs.
*/
--
2.34.1
Powered by blists - more mailing lists