[PATCH v3] virtio: Describe @map and @vmap members in virtio_device struct

Bagas Sanjaya posted 1 patch 1 month, 1 week ago
include/linux/virtio.h | 2 ++
1 file changed, 2 insertions(+)
[PATCH v3] virtio: Describe @map and @vmap members in virtio_device struct
Posted by Bagas Sanjaya 1 month, 1 week ago
Sphinx reports kernel-doc warnings:

WARNING: ./include/linux/virtio.h:181 struct member 'map' not described in 'virtio_device'
WARNING: ./include/linux/virtio.h:181 struct member 'vmap' not described in 'virtio_device'

Describe these members.

Fixes: bee8c7c24b7373 ("virtio: introduce map ops in virtio core")
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
---
Changes since v2 [1]:

  - Apply wording suggestions (Michael)

[1]: https://lore.kernel.org/virtualization/20251219031647.25264-1-bagasdotme@gmail.com/

 include/linux/virtio.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/linux/virtio.h b/include/linux/virtio.h
index 3626eb6947282a..48b88c149eca43 100644
--- a/include/linux/virtio.h
+++ b/include/linux/virtio.h
@@ -152,11 +152,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: operations for mapping buffer for a virtio device.
  * @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: device/domain used for mapping memory.
  * @debugfs_dir: debugfs directory entry.
  * @debugfs_filter_features: features to be filtered set by debugfs.
  */

base-commit: f8f9c1f4d0c7a64600e2ca312dec824a0bc2f1da
-- 
An old man doll... just what I always wanted! - Clara