* [PATCH 3/5] virtio: add kernel-doc for map and vmap members
@ 2026-03-15 14:57 Kit Dallege
0 siblings, 0 replies; only message in thread
From: Kit Dallege @ 2026-03-15 14:57 UTC (permalink / raw)
To: Michael S . Tsirkin, Jason Wang
Cc: Xuan Zhuo, Eugenio Pérez, virtualization, linux-kernel,
Kit Dallege
Document the map and vmap members of struct virtio_device that were
added without kernel-doc descriptions.
This fixes the following warnings when building with W=1:
include/linux/virtio.h: struct member 'map' not described in 'virtio_device'
include/linux/virtio.h: struct member 'vmap' not described in 'virtio_device'
Signed-off-by: Kit Dallege <xaum.io@gmail.com>
Signed-off-by: kovan <xaum.io@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 3bbc4cb6a672..287ec7cdec55 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: the mapping ops for this 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: mapping token passed to the mapping operations.
* @debugfs_dir: debugfs directory entry.
* @debugfs_filter_features: features to be filtered set by debugfs.
*/
--
2.53.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-03-15 14:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-15 14:57 [PATCH 3/5] virtio: add kernel-doc for map and vmap members Kit Dallege
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox