virtio: document map and vmap fields in struct virtio_device
PATCH 1/1 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 <[email protected]>
--- include/linux/virtio.h | 2 ++ 1 file changed, 2 insertions(+)
include/linux/virtio.h +2 -0
@@ -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. */
Signature · 1 line
2.34.1